Home > widget-integration > StickyService > restoreAncestorStackingContexts

StickyService.restoreAncestorStackingContexts() method

Restores inline styles saved before ancestor/header stacking promotion.

Signature:

protected restoreAncestorStackingContexts(originalStyles: Map<HTMLElement, StackingContextOriginalStyles>): void;

Parameters

Parameter

Type

Description

originalStyles

Map<HTMLElement, StackingContextOriginalStyles>

Returns:

void