snowstorm
Preparing search index...
hooks/useKeyboardNavigation
KeyboardNavigationOptions
Interface KeyboardNavigationOptions
interface
KeyboardNavigationOptions
{
autoFocusFirstItem
?:
boolean
;
containerRef
:
()
=>
HTMLElement
;
isExpanded
:
()
=>
boolean
;
menuItems
:
Accessor
<
HTMLElement
[]
>
;
menuRef
:
()
=>
HTMLElement
;
onItemClick
?:
(
element
:
HTMLElement
)
=>
void
;
specialItems
?:
{
element
:
()
=>
HTMLElement
|
undefined
;
handler
:
()
=>
void
;
}
[]
;
toggleMenu
:
()
=>
void
;
triggerRef
:
()
=>
HTMLElement
;
}
Index
Properties
auto
Focus
First
Item?
container
Ref
is
Expanded
menu
Items
menu
Ref
on
Item
Click?
special
Items?
toggle
Menu
trigger
Ref
Properties
Optional
auto
Focus
First
Item
autoFocusFirstItem
?:
boolean
container
Ref
containerRef
:
()
=>
HTMLElement
is
Expanded
isExpanded
:
()
=>
boolean
menu
Items
menuItems
:
Accessor
<
HTMLElement
[]
>
menu
Ref
menuRef
:
()
=>
HTMLElement
Optional
on
Item
Click
onItemClick
?:
(
element
:
HTMLElement
)
=>
void
Optional
special
Items
specialItems
?:
{
element
:
()
=>
HTMLElement
|
undefined
;
handler
:
()
=>
void
}
[]
toggle
Menu
toggleMenu
:
()
=>
void
trigger
Ref
triggerRef
:
()
=>
HTMLElement
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
Properties
auto
Focus
First
Item
container
Ref
is
Expanded
menu
Items
menu
Ref
on
Item
Click
special
Items
toggle
Menu
trigger
Ref
snowstorm
Loading...