usePresentationTreeNodeLoader Function

Custom hooks which creates PagedTreeNodeLoader with PresentationTreeDataProvider using supplied imodel and ruleset.

usePresentationTreeNodeLoader(props: PresentationTreeNodeLoaderProps): { nodeLoader: PagedTreeNodeLoader<IPresentationTreeDataProvider>, onItemsRendered: (Anonymous function) }

Parameter Type Description
props PresentationTreeNodeLoaderProps  

Returns - { nodeLoader: PagedTreeNodeLoader<IPresentationTreeDataProvider>, onItemsRendered: (Anonymous function) }

Defined in

Last Updated: 12 April, 2021