Field Notes
Field Notes home
Docs
Playground
Preparing search index...
@fieldnotes/react
UseShortcutsResult
Interface UseShortcutsResult
Current shortcut bindings and controls for changing them.
interface
UseShortcutsResult
{
bindings
:
Record
<
string
,
readonly
string
[]
>
;
disable
(
action
:
string
)
:
void
;
rebind
(
action
:
string
,
bindings
:
string
|
string
[]
|
null
)
:
void
;
reset
(
action
?:
string
)
:
void
;
}
Index
Properties
bindings
Methods
disable
rebind
reset
Properties
Readonly
bindings
bindings
:
Record
<
string
,
readonly
string
[]
>
Methods
disable
disable
(
action
:
string
)
:
void
Parameters
action
:
string
Returns
void
rebind
rebind
(
action
:
string
,
bindings
:
string
|
string
[]
|
null
)
:
void
Parameters
action
:
string
bindings
:
string
|
string
[]
|
null
Returns
void
reset
reset
(
action
?:
string
)
:
void
Parameters
Optional
action
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
bindings
Methods
disable
rebind
reset
Field Notes home
Docs
Playground
Field Notes
Loading...
Current shortcut bindings and controls for changing them.