Home > widget-integration > StickyService > syncPinnedHeaderStackingContexts

StickyService.syncPinnedHeaderStackingContexts() method

Synchronizes header stacking while the toolbar is fixed or sticky near the top offset.

Signature:

protected syncPinnedHeaderStackingContexts(toolbar: HTMLElement | null | undefined, topOffset: number, zIndex: string, originalStyles: Map<HTMLElement, StackingContextOriginalStyles>, background?: string): void;

Parameters

Parameter

Type

Description

toolbar

HTMLElement | null | undefined

topOffset

number

zIndex

string

originalStyles

Map<HTMLElement, StackingContextOriginalStyles>

background

string

(Optional)

Returns:

void