set

external fun set(property: String, vararg values: CSSStyleValue)(source)
external fun set(property: String, vararg values: String)(source)

The set() method of the StylePropertyMap interface changes the CSS declaration with the given property.

MDN Reference