import{_ as e,c as t,o as r,N as a}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Interface: BaseTree","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/features/trees/tree.BaseTree.md","lastUpdated":null}'),o={name:"api/interfaces/features/trees/tree.BaseTree.md"},n=a('
features/trees/tree.BaseTree
• [Component]: GenericComponent
The Vue component used to render this feature.
profectus/src/features/trees/tree.ts:213
• [GatherProps]: () => Record
<string
, unknown
>
▸ (): Record
<string
, unknown
>
A function to gather the props the vue component requires for this feature.
Record
<string
, unknown
>
profectus/src/features/trees/tree.ts:215
• id: string
An auto-generated ID for identifying features that appear in the DOM. Will not persist between refreshes or updates.
profectus/src/features/trees/tree.ts:201
• isResetting: Ref
<boolean
>
A flag that is true while the reset is still propagating through the tree.
profectus/src/features/trees/tree.ts:207
• links: Ref
<Link
[]>
The link objects for each of the branches of the tree.
profectus/src/features/trees/tree.ts:203
• reset: (node
: GenericTreeNode
) => void
▸ (node
): void
Cause a reset on this node and propagate it through the tree according to resetPropagation.
Name | Type |
---|---|
node | GenericTreeNode |
void
profectus/src/features/trees/tree.ts:205
• resettingNode: Ref
<null
| GenericTreeNode
>
A reference to the node that caused the currently propagating reset.
profectus/src/features/trees/tree.ts:209
• type: typeof TreeType
A symbol that helps identify features of the same type.