Extends
Methods
-
emit (type)this inherited
-
emit a event
Name Type Description type
String event type, evnet name
Returns:
Type Description this this -
off (type, fn)this inherited
-
proxy
removeEventListener
functionName Type Description type
String event type, evnet name
fn
function callback, which you had bind before
Returns:
Type Description this this -
on (type, fn)this inherited
-
proxy
addEventListener
functionName Type Description type
String event type, evnet name
fn
function callback
Returns:
Type Description this this -
once (type, fn)this inherited
-
binding a once event, just emit once time
Name Type Description type
String event type, evnet name
fn
function callback
Returns:
Type Description this this -
start tick loop
-
stop tick loop