Skip to main content

Interface: TreeItemRenderContext<C>

Type parameters

NameType
Cextends string = never

Hierarchy

Properties

addToSelectedItems

addToSelectedItems: () => void

Type declaration

▸ (): void

Returns

void

Inherited from

TreeItemActions.addToSelectedItems

Defined in

types.ts:35


arrowProps

arrowProps: HTMLProps<any>

Defined in

types.ts:62


canDrag

Optional canDrag: boolean

Inherited from

TreeItemRenderFlags.canDrag

Defined in

types.ts:52


canDropOn

Optional canDropOn: boolean

Inherited from

TreeItemRenderFlags.canDropOn

Defined in

types.ts:53


collapseItem

collapseItem: () => void

Type declaration

▸ (): void

Returns

void

Inherited from

TreeItemActions.collapseItem

Defined in

types.ts:31


expandItem

expandItem: () => void

Type declaration

▸ (): void

Returns

void

Inherited from

TreeItemActions.expandItem

Defined in

types.ts:30


focusItem

focusItem: (setDomFocus?: boolean) => void

Type declaration

▸ (setDomFocus?): void

Parameters
NameTypeDescription
setDomFocus?booleanDefaults to true.
Returns

void

Inherited from

TreeItemActions.focusItem

Defined in

types.ts:40


interactiveElementProps

interactiveElementProps: HTMLProps<any>

Defined in

types.ts:59


isDraggingOver

Optional isDraggingOver: boolean

Inherited from

TreeItemRenderFlags.isDraggingOver

Defined in

types.ts:49


isDraggingOverParent

Optional isDraggingOverParent: boolean

Inherited from

TreeItemRenderFlags.isDraggingOverParent

Defined in

types.ts:50


isExpanded

Optional isExpanded: boolean

Inherited from

TreeItemRenderFlags.isExpanded

Defined in

types.ts:46


isFocused

Optional isFocused: boolean

Inherited from

TreeItemRenderFlags.isFocused

Defined in

types.ts:47


isRenaming

Optional isRenaming: boolean

Inherited from

TreeItemRenderFlags.isRenaming

Defined in

types.ts:48


isSearchMatching

Optional isSearchMatching: boolean

Inherited from

TreeItemRenderFlags.isSearchMatching

Defined in

types.ts:51


isSelected

Optional isSelected: boolean

Inherited from

TreeItemRenderFlags.isSelected

Defined in

types.ts:45


itemContainerWithChildrenProps

itemContainerWithChildrenProps: HTMLProps<any>

Defined in

types.ts:61


itemContainerWithoutChildrenProps

itemContainerWithoutChildrenProps: HTMLProps<any>

Defined in

types.ts:60


primaryAction

primaryAction: () => void

Type declaration

▸ (): void

Returns

void

Inherited from

TreeItemActions.primaryAction

Defined in

types.ts:27


selectItem

selectItem: () => void

Type declaration

▸ (): void

Returns

void

Inherited from

TreeItemActions.selectItem

Defined in

types.ts:33


selectUpTo

selectUpTo: (overrideOldSelection?: boolean) => void

Type declaration

▸ (overrideOldSelection?): void

Parameters
NameType
overrideOldSelection?boolean
Returns

void

Inherited from

TreeItemActions.selectUpTo

Defined in

types.ts:36


startDragging

startDragging: () => void

Type declaration

▸ (): void

Returns

void

Inherited from

TreeItemActions.startDragging

Defined in

types.ts:37


startRenamingItem

startRenamingItem: () => void

Type declaration

▸ (): void

Returns

void

Inherited from

TreeItemActions.startRenamingItem

Defined in

types.ts:28


stopRenamingItem

stopRenamingItem: () => void

Type declaration

▸ (): void

Returns

void

Inherited from

TreeItemActions.stopRenamingItem

Defined in

types.ts:29


toggleExpandedState

toggleExpandedState: () => void

Type declaration

▸ (): void

Returns

void

Inherited from

TreeItemActions.toggleExpandedState

Defined in

types.ts:32


unselectItem

unselectItem: () => void

Type declaration

▸ (): void

Returns

void

Inherited from

TreeItemActions.unselectItem

Defined in

types.ts:34


viewStateFlags

viewStateFlags: { [collection in string]: boolean }

Defined in

types.ts:63