- setStyle(this: void | HTMLElement, style: Partial<Omit<CSSStyleDeclaration, ReadonlyKeys<CSSStyleDeclaration>>> | Partial<Omit<CSSStyleDeclaration, ReadonlyKeys<CSSStyleDeclaration>>>[], __namedParameters?: {
toCssText?: boolean;
el?: string | HTMLElement;
}): typeof setStyle
-
Parameters
-
this: void | HTMLElement
-
style: Partial<Omit<CSSStyleDeclaration, ReadonlyKeys<CSSStyleDeclaration>>> | Partial<Omit<CSSStyleDeclaration, ReadonlyKeys<CSSStyleDeclaration>>>[]
-
__namedParameters: {
toCssText?: boolean;
el?: string | HTMLElement;
} = {}
-
Optional
toCssText?: boolean
-
Optional
el?: string | HTMLElement
Returns
setStyle.bind(el)