setStyleProperty
setStyleProperty(
el
,prop
,value
):void
Defined in: vanilla-integration/src/utils.ts:63
Sets style properties, works with CSS variables
Parameters
Section titled “Parameters”HTMLElement
Element to set property of
string
Property to set, for example: minHeight
, --my-var
Value of a property
undefined
| string
Returns
Section titled “Returns”void