Home > widget-integration > StickyService > isTopOffsetSource
StickyService.isTopOffsetSource() method
Checks whether an element can move the sticky top offset.
Themes animate a wrapper that holds the header sections rather than the sections themselves, so an element that merely *contains* an offset source counts too.
Signature:
protected isTopOffsetSource(node: EventTarget | null): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
node |
EventTarget | null |
Returns:
boolean