Home > widget-integration > StickyService > setStyles
StickyService.setStyles() method
Writes a set of inline styles through setStyle so unchanged values stay untouched.
Signature:
protected setStyles(element: HTMLElement | null | undefined, styles: Record<string, string>): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
element |
HTMLElement | null | undefined | |
|
styles |
Record<string, string> |
Returns:
void