OPEN_STRATEGY
enum
Behavior
TypeScript enum controlling how tree/list nodes open — single, multiple, or list mode.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- OPEN_STRATEGY.SINGLE
- Only one node can be open at a time — opening a new one closes the previous.
- OPEN_STRATEGY.MULTIPLE
- Any number of nodes can be open simultaneously.
- OPEN_STRATEGY.LIST
- List mode — nodes open as a flat sequential list.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using the enum in script setup