IStackProvide

interface
Internal

Vue provide/inject contract shared by the overlay-stack composable. Allows child overlays to register themselves with a parent stack so z-index ordering is managed globally rather than per-component.

TypeScript

Definition

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

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

activeChildren
required
Set<number>
Set of numeric IDs of currently open child overlays. The stack composable adds an ID on open and removes it on close to track depth ordering.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

IStackProvide in the overlay stack composable

typescript