addListener (obj, eventName, target, method, once) public
Add an event listener
Parameters:
- obj
-
eventName
String
-
target
Object|Function
- A target object or a function
-
method
Function|String
- A function or the name of a function to be called on `target`
-
once
Boolean
- A flag whether a function should only be called once
Please login to continue.