Skip to content

setStyle

setStyle(element, styles): void

Defined in: src/util/dom_style.ts:8

wrapper for setting element’s style

Parameters

element

HTMLElement

styles

string | Record<string, string>

Returns

void