Skip to main content

HotkeysCoreFeatureConfig <T>

Index

Properties

optionalhotkeys

hotkeys?: Partial<Record<`custom${string}` | focusNextItem | focusPreviousItem | expandOrDown | collapseOrUp | focusFirstItem | focusLastItem | toggleSelectItem | selectUpwards | selectDownwards | selectUpwardsCtrl | selectDownwardsCtrl | selectAll | openSearch | closeSearch | submitSearch | nextSearchItem | previousSearchItem | renameItem | abortRenaming | completeRenaming, Partial<HotkeyConfig<T>>>>

optionalonItemHotkey

onItemHotkey?: (name: string, item: ItemInstance<T>, element: HTMLElement) => void

Type declaration

    • (name: string, item: ItemInstance<T>, element: HTMLElement): void
    • Parameters

      Returns void

optionalonTreeHotkey

onTreeHotkey?: (name: string, element: HTMLElement) => void

Type declaration

    • (name: string, element: HTMLElement): void
    • Parameters

      • name: string
      • element: HTMLElement

      Returns void