Skip to main content

TreeFeatureTreeInstance <T>

Index

Properties

focusNextItem

focusNextItem: () => void

Type declaration

    • (): void
    • Returns void

focusPreviousItem

focusPreviousItem: () => void

Type declaration

    • (): void
    • Returns void

getContainerProps

getContainerProps: (treeLabel?: string) => Record<string, any>

Pass to the container rendering the tree children. The treeLabel parameter will be passed as aria-label parameter, and is recommended to be set.


Type declaration

    • (treeLabel?: string): Record<string, any>
    • Parameters

      • optionaltreeLabel: string

      Returns Record<string, any>

getFocusedItem

getFocusedItem: () => ItemInstance<any>

Type declaration

updateDomFocus

updateDomFocus: () => void

Type declaration

    • (): void
    • Returns void