Class: Shortcut

Mobizen.UI~Shortcut

new Shortcut()

Keyboard shortcut API

Type Definitions

[type](event){boolean}

Name Type Description
event DOMEvent
Properties:
Name Type Description
fn array
Returns:
Type Description
boolean true if excuted successful

Methods

addEvent(type, callback, debug)

Name Type Description
type string
callback function
debug boolean optional

debugging flag

isFunctionKey(code)

Name Type Description
code number

keycode

removeEvent()

comments powered by Disqus