Class YEvt
Defined in: YEvt.js.
Constructor Attributes | Constructor Name and Description |
---|---|
YEvt()
cross browser event handling and trackingNot instanciable.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
YEvt.addCollection(trigger, eventDescList, Function, datas)
add events listener
|
Method Detail
<static>
{int[]}
YEvt.addCollection(trigger, eventDescList, Function, datas)
add events listener
- Parameters:
- {DomElement} trigger
- element triggering the event.
- {string[]} eventDescList
- events names (ex:['mouseup','mousedown']).
- {function} Function
- function called when event is fired.
of type : Function(event,eventDesc,datas); - {mixed} datas Optional
- miscalenous datas that could be used by Function.
- Returns:
- {int[]} events listener index list.