Home > widget-integration > StickyService > elevateElementAndAncestorsStackingContexts

StickyService.elevateElementAndAncestorsStackingContexts() method

Promotes an element and its stacking-context ancestors.

Signature:

protected elevateElementAndAncestorsStackingContexts(element: HTMLElement | null | undefined, zIndex: string, originalStyles: Map<HTMLElement, StackingContextOriginalStyles>): void;

Parameters

Parameter

Type

Description

element

HTMLElement | null | undefined

zIndex

string

originalStyles

Map<HTMLElement, StackingContextOriginalStyles>

Returns:

void