YUI Events

A trail of 3 pages, marked with comments, by etotheix
About this trail:
arg1: the element that the event binds to arg2: the event arg3: the callback function arg4: an optional custom object arg5: a boolean. If true, "this" in callback function refers to the arg4 custom object. If false, it refers to the arg1 element??
3 marks in this trail
1
arg1: the element that the event binds to arg2: the event arg3: the callback function arg4: an optional custom object arg5: a boolean. If true, "this" in callback function refers to the arg4 custom object. If false, it refers to the arg1 element??
2
arg1: the event type arg2: array of args that were passed to fire() arg3: custom object passed to subscribe
3
arg1: event type arg2: the scope in with the listener methods fire (defaults to "window"). Can override in subscribe/addListener

Add your comment: