GLOBAL_STACK

const
Composables & Internals

Reactive array of [uid, zIndex] tuples tracking every active stacked surface (Dialog, Menu, Tooltip, Snackbar…). Used by useStack to compute z-index increments and ensure correct stacking order.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamDialog

  • OrigamMenu

  • OrigamTooltip

  • OrigamSnackbar

Usage

Examples

Ready-to-paste code snippets using this constant.

Inspecting the stacking order at runtime

typescript