ITreeviewNodeProps

interface
Component Props

Props contract for <OrigamTreeviewNode>. Internal component rendering a single tree node. Receives the full ITreeviewNode data object plus its nesting depth for indentation.

TypeScript

Definition

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

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

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

node
required
ITreeviewNode
The node data object to render (id, label, icon, children, disabled, expandable).
depth
number
Nesting depth starting at 0 for root nodes. Used to compute the left padding indent.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Direct usage of OrigamTreeviewNode

vue