TreeRow
interface exported by @mwillbanks/tuil-content.
interface
Public interface exported by @mwillbanks/tuil-content.
export interface TreeRow {
readonly path: string;
readonly depth: number;
readonly key: string;
readonly type: string;
readonly value?: unknown;
readonly expandable: boolean;
readonly expanded: boolean;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
path | string | Yes | The path member uses the string contract. | — |
depth | number | Yes | The depth member uses the number contract. | — |
key | string | Yes | The key member uses the string contract. | — |
type | string | Yes | The type member uses the string contract. | — |
value | unknown | No | The value member uses the unknown contract. | — |
expandable | boolean | Yes | The expandable member uses the boolean contract. | — |
expanded | boolean | Yes | The expanded member uses the boolean contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
No package-local related types.
Source
View the secondary source reference