TreeFeatureItemInstance <T>
Index
Properties
collapse
Type declaration
Returns void
expand
Type declaration
Returns void
getChildren
Type declaration
Returns ItemInstance<T>[]
getId
Type declaration
Returns string
getIndexInParent
Type declaration
Returns number
getItemAbove
Type declaration
Returns null | ItemInstance<T>
getItemBelow
Type declaration
Returns null | ItemInstance<T>
getItemData
Type declaration
Returns T
getItemName
Type declaration
Returns string
getMemoizedProp
Type declaration
Type parameters
- X
Parameters
name: string
create: () => X
optionaldeps: any[]
Returns X
getParent
Type declaration
Returns ItemInstance<T>
getProps
Type declaration
Returns Record<string, any>
getTree
Type declaration
Returns TreeInstance<T>
isExpanded
Type declaration
Returns boolean
isFocused
Type declaration
Returns boolean
isFolder
Type declaration
Returns boolean
primaryAction
Type declaration
Returns void
scrollTo
Type declaration
Parameters
optionalscrollIntoViewArg: boolean | ScrollIntoViewOptions
Returns Promise<void>
setFocused
Type declaration
Returns void