Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
MousetrapStatic
Interface MousetrapStatic
Index
Properties
stopCallback
Methods
bind
reset
trigger
unbind
Properties
public
stopCallback
:
(e: ExtendedKeyboardEvent, element: Element, combo: string) => boolean
Methods
public
bind
(
keys
:
string
, callback
:
(e: ExtendedKeyboardEvent, combo: string) => any
, action
?:
string
)
Parameters
keys:
string
callback:
(e: ExtendedKeyboardEvent, combo: string) => any
action?:
string
optional
public
bind
(
keyArray
:
Array<string>
, callback
:
(e: ExtendedKeyboardEvent, combo: string) => any
, action
?:
string
)
Parameters
keyArray:
Array<string>
callback:
(e: ExtendedKeyboardEvent, combo: string) => any
action?:
string
optional
public
reset
(
)
public
trigger
(
keys
:
string
, action
?:
string
)
Parameters
keys:
string
action?:
string
optional
public
unbind
(
keys
:
string
, action
?:
string
)
Parameters
keys:
string
action?:
string
optional
public
unbind
(
keyArray
:
Array<string>
, action
?:
string
)
Parameters
keyArray:
Array<string>
action?:
string
optional
Globals