new MObject()
facade/js/Object.js, line 18
Methods
-
on(eventType, listener, optThis)
facade/js/Object.js, line 39 -
Adds event listener
Name Type Description eventType
M.evt constant to identify event type
listener
function callback function
optThis
Object object with aditional options
-
once(eventType, listener, optThis)
facade/js/Object.js, line 53 -
Adds event listener that only once fires
Name Type Description eventType
M.evt constant to identify event type
listener
function callback function
optThis
Object object with aditional options
-
un(eventType, listener, optThis)
facade/js/Object.js, line 67 -
Removes event listener
Name Type Description eventType
M.evt constant to identify event type
listener
function callback function
optThis
Object object with aditional options
-
unByKey(eventType, key)
facade/js/Object.js, line 80 -
Removes event listener by key
Name Type Description eventType
M.evt constant to identify event type
key
String event key