Class: CUI.Listener
Defined in: | base/Events/Listener.coffee |
Inherits: | CUI.Element |
Overview
- coffeescript-ui - Coffeescript User Interface System (CUI)
- Copyright (c) 2013 - 2016 Programmfabrik GmbH
- MIT Licence
- https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
Variables Summary
Variable inherited from CUI.Element
Class Method Summary
Instance Method Summary
- # (void) initOpts()
- # (void) readOpts()
- # (void) isCapture()
- # (void) getNode()
- # (void) getTypes()
- # (void) __registerDOMEvent()
- # (void) __handleDOMEventInternal(ev)
- # (void) isOnlyOnce()
- # (void) destroy()
- # (void) matchesEvent(event) returns the distance of the listener node to the events node.
- # (void) getDepthFromLastMatchedEvent()
- # (void) handleEvent(event, phase) if the calls return promises, we return a promise, otherwise we return the last ret nothing
- # (void) getInstance()
- # (void) matchesFilter(filter)
Inherited Method Summary
Methods inherited from
CUI.Element
#getElementClass #getUniqueId #getOpts #getOpt #hasOpt #getSetOpt #hasSetOpt #initOpts #copy #mergeOpt #removeOpt #addOpt #addOpts #mergeOpts #__getCheckMap #readOpts #readOptsFromAttr #proxy #destroy #isDestroyed .getOptKeys
Class Method Details
.
(void)
require(listener, func)
Instance Method Details
#
(void)
initOpts()
#
(void)
readOpts()
#
(void)
isCapture()
#
(void)
getNode()
#
(void)
getTypes()
#
(void)
__registerDOMEvent()
#
(void)
__handleDOMEventInternal(ev)
#
(void)
isOnlyOnce()
#
(void)
destroy()
#
(void)
matchesEvent(event)
returns the distance of the listener node to the events node. with no node, return -1 returns null if no match
#
(void)
getDepthFromLastMatchedEvent()
#
(void)
handleEvent(event, phase)
if the calls return promises, we return a promise, otherwise we return the last ret nothing
#
(void)
getInstance()
#
(void)
matchesFilter(filter)