Module hilo/event/EventMixin
Requires
hilo/core/Class
Source
EventMixin.js
EventMixin is a mixin on event related functions. Use Class.mix(target, EventMixin) to add event function onto target.
Method | Defined | |
---|---|---|
fire(type:String, detail:Object):Boolean
static
Send events.
|
EventMixin | |
off(type:String, listener:Function):Object
static
Remove one event listener.
|
EventMixin | |
on(type:String, listener:Function, once:Boolean):Object
static
Add an event listenser.
|
EventMixin |