TreeInstance <T>
Hierarchy
- TreeInstanceType<T>
- TreeInstance
Index
Properties
- abortRenaming
- closeSearch
- collapseAll
- collapseItem
- completeRenaming
- expandAll
- expandItem
- focusItem
- focusNextItem
- focusPreviousItem
- getConfig
- getContainerProps
- getDragLineData
- getDropTarget
- getElement
- getFocusedItem
- getHotkeyPresets
- getItemInstance
- getItems
- getRenamingItem
- getRenamingValue
- getSearchInputElement
- getSearchInputElementProps
- getSearchMatchingItems
- getSearchValue
- getSelectedItems
- getState
- invalidateChildrenIds
- invalidateItemData
- isItemExpanded
- isRenamingItem
- isSearchOpen
- openSearch
- rebuildTree
- registerElement
- registerSearchInputElement
- retrieveChildrenIds
- retrieveItemData
- setConfig
- setSearch
- setSelectedItems
- setState
- startRenamingItem
- updateDomFocus
Properties
abortRenaming
Type declaration
Returns void
closeSearch
Type declaration
Returns void
collapseAll
Type declaration
Returns void
collapseItem
Type declaration
Parameters
itemId: string
Returns void
completeRenaming
Type declaration
Returns void
expandAll
Type declaration
Parameters
optionalcancelToken: { current: boolean }
Returns Promise<void>
expandItem
Type declaration
Parameters
itemId: string
Returns void
focusItem
Type declaration
Parameters
itemId: string
Returns void
focusNextItem
Type declaration
Returns void
focusPreviousItem
Type declaration
Returns void
getConfig
Type declaration
Returns TreeConfig<any>
getContainerProps
Type declaration
Returns Record<string, any>
getDragLineData
Type declaration
Returns null | DragLineData
getDropTarget
Type declaration
Returns null | DropTarget<T>
getElement
Type declaration
Returns undefined | null | HTMLElement
getFocusedItem
Type declaration
Returns ItemInstance<any>
getHotkeyPresets
Type declaration
Returns HotkeysConfig<any>
getItemInstance
Type declaration
Parameters
itemId: string
Returns ItemInstance<any>
getItems
Type declaration
Returns ItemInstance<any>[]
getRenamingItem
Type declaration
Returns null | ItemInstance<T>
getRenamingValue
Type declaration
Returns string
getSearchInputElement
Type declaration
Returns null | HTMLInputElement
getSearchInputElementProps
Type declaration
Returns any
getSearchMatchingItems
Type declaration
Returns ItemInstance<T>[]
getSearchValue
Type declaration
Returns string
getSelectedItems
Type declaration
Returns ItemInstance<T>[]
getState
Type declaration
Returns TreeState<any>
invalidateChildrenIds
Type declaration
Parameters
itemId: string
Returns void
invalidateItemData
Type declaration
Parameters
itemId: string
Returns void
isItemExpanded
Type declaration
Parameters
itemId: string
Returns boolean
isRenamingItem
Type declaration
Returns boolean
isSearchOpen
Type declaration
Returns boolean
openSearch
Type declaration
Parameters
optionalinitialValue: string
Returns void
rebuildTree
Type declaration
Returns void
registerElement
Type declaration
Parameters
element: null | HTMLElement
Returns void
registerSearchInputElement
Type declaration
Parameters
element: null | HTMLInputElement
Returns void
retrieveChildrenIds
Type declaration
Parameters
itemId: string
Returns string[]
retrieveItemData
Type declaration
Parameters
itemId: string
Returns T
setConfig
setSearch
Type declaration
Parameters
search: null | string
Returns void
setSelectedItems
Type declaration
Parameters
selectedItems: string[]
Returns void
setState
startRenamingItem
Type declaration
Parameters
itemId: string
Returns void
updateDomFocus
Type declaration
Returns void
Invalidate fetched data for item, and triggers a refetch and subsequent rerender if the item is visible