Class gui.EventManager-CompoundEvent
Defined in: EventManager.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<inner> |
gui.EventManager-CompoundEvent(eventName, dependencies,, eventProxy)
A compound event is an event that is not directly supported
by any browser APIs but which can be representation as a
logical consequence of a combination of several preexisting
events.
|
Method Attributes | Method Name and Description |
---|---|
destroy()
|
|
subscribe(cb)
|
|
<inner> |
subscribedProxy(event)
|
unsubscribe(cb)
|
Class Detail
<inner>
gui.EventManager-CompoundEvent(eventName, dependencies,, eventProxy)
A compound event is an event that is not directly supported
by any browser APIs but which can be representation as a
logical consequence of a combination of several preexisting
events. For example: long press, double tap, pinch, etc.
- Parameters:
- {!string} eventName
- {!Array.} dependencies,
- {!function(!Event|!Object|!function(!Object)):undefined} eventProxy
Method Detail
{undefined}
destroy()
- Returns:
- {undefined}
{undefined}
subscribe(cb)
- Parameters:
- {!Function} cb
- Returns:
- {undefined}
<inner>
{undefined}
subscribedProxy(event)
- Parameters:
- {!Event} event
- Returns:
- {undefined}
{undefined}
unsubscribe(cb)
- Parameters:
- {!Function} cb
- Returns:
- {undefined}