ORIGAM_LAYOUT_ITEM_KEY

const
Injection Keys

Vue provide/inject symbol that carries a ShallowRef<{ id: string }> from OrigamLayout to each registered layout item (AppBar, NavigationDrawer, Footer…), giving it access to its own layout-slot identifier.

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.

  • OrigamLayout

  • OrigamAppBar

  • OrigamNavigationDrawer

Usage

Examples

Ready-to-paste code snippets using this constant.

Reading the layout-item id inside a custom layout panel

typescript