Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
shiftKey: boolean |
Private Members | ||
private |
_keys: *[] |
|
private |
_tab: * |
Method Summary
Public Methods | ||
public |
download() |
|
public |
key(key: *, title: *, event: *, target: *, options: *, cb: *) |
|
public |
show() |
Private Methods | ||
private |
_addKey(key: *, title: *, event: *, target: *, options: *, cb: *) |
|
private |
_onKeyDown(e: *) |
|
private |
_onKeyPress(e: *) |
|
private |
_onKeyUp(e: *) |
|
private |
_prepareKeysForDisplay(keys: *): * |
Inherited Summary
From class Events | ||
public |
off: * |
|
public |
on: * |
|
private |
_eventCallbacks: {} |
|
private |
_listeners: {} |
|
private |
_log: * |
|
private |
_logEvents: boolean |
|
private |
_logName: string |
|
public |
addEventListener(which: *, cb: *, idPrefix: string): string add event listener |
|
public |
emitEvent(which: string, param1: *, param2: *, param3: *, param4: *, param5: *, param6: *) emit event |
|
public |
hasEventListener(id: *, cb: *): boolean check event listener registration |
|
public |
hasListenerForEventName(eventName: *): boolean check event listener by name |
|
public |
logEvents(enabled: boolean, logName: string) enable/disable logging of events for the class |
|
public |
removeEventListener(id: *, cb: *) rempve event listener registration |
Public Constructors
Public Members
public shiftKey: boolean source
Private Members
private _keys: *[] source
private _tab: * source
Public Methods
public download() source
public key(key: *, title: *, event: *, target: *, options: *, cb: *) source
Params:
Name | Type | Attribute | Description |
key | * | ||
title | * | ||
event | * | ||
target | * | ||
options | * | ||
cb | * |
public show() source
Private Methods
private _addKey(key: *, title: *, event: *, target: *, options: *, cb: *) source
Params:
Name | Type | Attribute | Description |
key | * | ||
title | * | ||
event | * | ||
target | * | ||
options | * | ||
cb | * |
private _onKeyDown(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
private _onKeyPress(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
private _onKeyUp(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
private _prepareKeysForDisplay(keys: *): * source
Params:
Name | Type | Attribute | Description |
keys | * |
Return:
* |