Interface: TreeItemRenderContext<C>
Type parameters
Name | Type |
---|---|
C | extends string = never |
Hierarchy
↳
TreeItemRenderContext
Properties
addToSelectedItems
• addToSelectedItems: () => void
Type declaration
▸ (): void
Returns
void
Inherited from
TreeItemActions.addToSelectedItems
Defined in
arrowProps
• arrowProps: HTMLProps
<any
>
Defined in
canDrag
• Optional
canDrag: boolean
Inherited from
Defined in
canDropOn
• Optional
canDropOn: boolean
Inherited from
Defined in
collapseItem
• collapseItem: () => void
Type declaration
▸ (): void
Returns
void
Inherited from
Defined in
expandItem
• expandItem: () => void
Type declaration
▸ (): void
Returns
void
Inherited from
Defined in
focusItem
• focusItem: (setDomFocus?
: boolean
) => void
Type declaration
▸ (setDomFocus?
): void
Parameters
Name | Type | Description |
---|---|---|
setDomFocus? | boolean | Defaults to true. |
Returns
void
Inherited from
Defined in
interactiveElementProps
• interactiveElementProps: HTMLProps
<any
>
Defined in
isDraggingOver
• Optional
isDraggingOver: boolean
Inherited from
TreeItemRenderFlags.isDraggingOver
Defined in
isDraggingOverParent
• Optional
isDraggingOverParent: boolean
Inherited from
TreeItemRenderFlags.isDraggingOverParent
Defined in
isExpanded
• Optional
isExpanded: boolean
Inherited from
TreeItemRenderFlags.isExpanded
Defined in
isFocused
• Optional
isFocused: boolean
Inherited from
Defined in
isRenaming
• Optional
isRenaming: boolean
Inherited from
TreeItemRenderFlags.isRenaming
Defined in
isSearchMatching
• Optional
isSearchMatching: boolean
Inherited from
TreeItemRenderFlags.isSearchMatching
Defined in
isSelected
• Optional
isSelected: boolean
Inherited from
TreeItemRenderFlags.isSelected
Defined in
itemContainerWithChildrenProps
• itemContainerWithChildrenProps: HTMLProps
<any
>
Defined in
itemContainerWithoutChildrenProps
• itemContainerWithoutChildrenProps: HTMLProps
<any
>
Defined in
primaryAction
• primaryAction: () => void
Type declaration
▸ (): void
Returns
void
Inherited from
Defined in
selectItem
• selectItem: () => void
Type declaration
▸ (): void
Returns
void
Inherited from
Defined in
selectUpTo
• selectUpTo: (overrideOldSelection?
: boolean
) => void
Type declaration
▸ (overrideOldSelection?
): void
Parameters
Name | Type |
---|---|
overrideOldSelection? | boolean |
Returns
void
Inherited from
Defined in
startDragging
• startDragging: () => void
Type declaration
▸ (): void
Returns
void
Inherited from
Defined in
startRenamingItem
• startRenamingItem: () => void
Type declaration
▸ (): void
Returns
void
Inherited from
TreeItemActions.startRenamingItem
Defined in
stopRenamingItem
• stopRenamingItem: () => void
Type declaration
▸ (): void
Returns
void
Inherited from
TreeItemActions.stopRenamingItem
Defined in
toggleExpandedState
• toggleExpandedState: () => void
Type declaration
▸ (): void
Returns
void
Inherited from
TreeItemActions.toggleExpandedState
Defined in
unselectItem
• unselectItem: () => void
Type declaration
▸ (): void
Returns
void
Inherited from
Defined in
viewStateFlags
• viewStateFlags: { [collection in string]: boolean }