Skip to content

setStyle

setStyle(element, styles): void

wrapper for setting element’s style

Parameters

element: HTMLElement

styles: string | Record<string, string>

Returns

void

Defined in

src/util/dom_style.ts:8