Home > widget-integration > StickyService > clearStyles
StickyService.clearStyles() method
Clears inline styles through setStyle so already-empty values stay untouched.
Signature:
protected clearStyles(element: HTMLElement | null | undefined, properties: string[]): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
element |
HTMLElement | null | undefined | |
|
properties |
string[] |
Returns:
void