跳转到内容

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