ADJ_SCOPE
- static final int
Adjusted context, either the element we are registering the event
on or the custom object passed in by the listener, int constant
elCache
DOM element cache
- private static object
Deprecated: Elements are not cached due to issues that arise when
elements are removed and re-added
lastError
- static Error
addListener/removeListener can throw errors in unexpected scenarios.
These errors are suppressed, the method returns false, and this property
is set
OBJ
- static final int
Object passed in by the user that will be returned as a
parameter to the callback, int constant. Specific to
unload listeners
POLL_RETRYS
- static final int
The number of times we should look for elements that are not
in the DOM at the time the event is requested after the document
has been loaded. The default is 500@amp;40 ms, so it will poll
for 20 seconds or until all outstanding handlers are bound
(whichever comes first).
retryCount
- private static object
The number of times to poll after window.onload. This number is
increased if additional late-bound handlers are requested after
the page load.
throwErrors
- boolean
Errors thrown by subscribers of custom events are caught
and the error message is written to the debug console. If
this property is set to true, it will also re-throw the
error.
Default Value: false
unloadListeners
- private static array
User-defined unload function that will be fired before all events
are detached