shortcutjs
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Action
constructor
callbacks
key
Combo
name
add
Callback
remove
Callback
Action class to use for the ShortcutJS
export
class
Action
Hierarchy
Action
Index
Constructors
constructor
Properties
callbacks
key
Combo
name
Methods
add
Callback
remove
Callback
Constructors
constructor
new
Action
(
name
:
string
, keyCombo
:
KeyCombo
)
:
Action
Creates an instance of Action.
Parameters
name:
string
keyCombo:
KeyCombo
Returns
Action
Properties
callbacks
callbacks
:
Set
<
Function
>
key
Combo
key
Combo
:
KeyCombo
name
name
:
string
Methods
add
Callback
add
Callback
(
cb
:
Function
)
:
void
Parameters
cb:
Function
Returns
void
remove
Callback
remove
Callback
(
cb
?:
Function
)
:
void
Parameters
Default value
cb:
Function
= null
Returns
void
Generated using
TypeDoc
Action class to use for the ShortcutJS
Action