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