Skip to content

setStyleProperty

setStyleProperty(el, prop, value): void

Defined in: vanilla-integration/src/utils.ts:63

Sets style properties, works with CSS variables

HTMLElement

Element to set property of

string

Property to set, for example: minHeight, --my-var

Value of a property

undefined | string

void