Skip to main content

MainFeatureTreeInstance

Index

Properties

getConfig

getConfig: () => TreeConfig<any>

Type declaration

getElement

getElement: () => undefined | null | HTMLElement

Type declaration

    • (): undefined | null | HTMLElement
    • Returns undefined | null | HTMLElement

getHotkeyPresets

getHotkeyPresets: () => HotkeysConfig<any>

Type declaration

getItemInstance

getItemInstance: (itemId: string) => ItemInstance<any>

Type declaration

getItems

getItems: () => ItemInstance<any>[]

Type declaration

getState

getState: () => TreeState<any>

Type declaration

rebuildTree

rebuildTree: () => void

Type declaration

    • (): void
    • Returns void

registerElement

registerElement: (element: null | HTMLElement) => void

Type declaration

    • (element: null | HTMLElement): void
    • Parameters

      • element: null | HTMLElement

      Returns void

setConfig

setConfig: SetStateFn<TreeConfig<any>>

setState

setState: SetStateFn<TreeState<any>>