ORIGAM_TREEVIEW_KEY

const
Data Display

Vue injection key (Symbol) shared by OrigamTreeview (root provider) and nested OrigamTreeviewItem components to propagate selection mode, expand state, and item registration across arbitrary nesting depth.

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.

  • OrigamTreeview

  • OrigamTreeviewItem

Usage

Examples

Ready-to-paste code snippets using this constant.

Injecting the treeview context in a custom item

typescript