Home > widget-integration > StickyService > resolveStickyBackground

StickyService.resolveStickyBackground() method

Resolves the sticky element background, preferring explicit options and original theme color.

Signature:

protected resolveStickyBackground(element: HTMLElement, background?: string): string;

Parameters

Parameter

Type

Description

element

HTMLElement

background

string

(Optional)

Returns:

string