set

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

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

MDN Reference