Home > widget-integration > StickyService > elevateElementStackingContext

StickyService.elevateElementStackingContext() method

Promotes a single element and stores its original stacking styles.

Signature:

protected elevateElementStackingContext(element: HTMLElement, zIndex: string, originalStyles: Map<HTMLElement, StackingContextOriginalStyles>, background?: string): void;

Parameters

Parameter

Type

Description

element

HTMLElement

zIndex

string

originalStyles

Map<HTMLElement, StackingContextOriginalStyles>

background

string

(Optional)

Returns:

void