TreeNodeLoader<TDataProvider extends TreeDataProvider> Class
Default tree node loader with TreeDataProvider
implementation.
Extends
- AbstractTreeNodeLoaderWithProvider<TDataProvider>
Methods
Name | Description | |
---|---|---|
constructor<TDataProvider extends TreeDataProvider>(dataProvider: TDataProvider, modelSource: TreeModelSource): TreeNodeLoader<TDataProvider> | ||
load(): Observable<LoadedNodeHierarchy> Protected | An abstract method to load a node at the specific index for the specified parent. | |
loadNode(parent: TreeModelNode | TreeModelRootNode, _childIndex?: number): Observable<TreeNodeLoadResult> | Schedules to load children of node and returns an Observable. |
Inherited methods
Name | Inherited from | Description |
---|---|---|
updateModel(loadedHierarchy: LoadedNodeHierarchy): void Protected | AbstractTreeNodeLoaderWithProvider<TDataProvider> | A method that's called when load loads some nodes and we need to put them into model source. |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
dataProvider Accessor ReadOnly | TDataProvider | AbstractTreeNodeLoaderWithProvider<TDataProvider> | Returns TreeDataProvider used to load nodes. |
modelSource Accessor ReadOnly | TreeModelSource | AbstractTreeNodeLoaderWithProvider<TDataProvider> |
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.