Skip to content

Latest commit

 

History

History
107 lines (58 loc) · 2.57 KB

TreeController.State.Interface.md

File metadata and controls

107 lines (58 loc) · 2.57 KB

tree-controller / Exports / TreeController / State / Interface

Interface: Interface<N, S>

TreeController.State.Interface

Type parameters

Name
N
S

Implemented by

Table of contents

Properties

Properties

defaultState

• Readonly defaultState: Shape<S>

The state that will be used as the default for the provided tree's nodes.

Filed

defaultState

Defined in

state/tree-manager.state.ts:406


keyConfigMap

• Readonly keyConfigMap: Partial<Record<keyof Shape<S>, Config<any>>>

Maps every state property key name to a configuration object

Field

keyConfigMap

Defined in

state/tree-manager.state.ts:412


node$StateMap

• Readonly node$StateMap: Map<N, BehaviorSubject<Shape<S>>>

Maps every tree node's to an Observable that emits its state object

Field

nodeStateMap

Defined in

state/tree-manager.state.ts:424


nodeStateMap

• Readonly nodeStateMap: Map<N, Shape<S>>

Maps every tree node's to a state object

Field

nodeStateMap

Defined in

state/tree-manager.state.ts:418


tree

• Readonly tree: undefined | Tree<N>

points to a TreeController.Tree instance

Field

tree

Defined in

state/tree-manager.state.ts:399