Skip to content

resolveStickyStack

Overview

Resolve the layout for a stack of sticky bars pinned to one edge.

Signature

resolveStickyStack(bars, edge)

Parameters

NameTypeRequiredDescription
barsStickyStackBar[]yesBars in stack order from the pinned edge outward (for the top edge, top to bottom; for the bottom edge, bottom to top).
edge"top" | "bottom"noThe viewport edge the stack pins to. Defaults to top.

Returns

StickyStackLayout

The per-bar layout and the visible extent.

Source

client/lib/utils/stickyStackLayout.js:45

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2