Cross browser event handler registration. This listener is removed by calling removeListener(handle) for the handle that is returned by this function.
Wrapper around addDomListener that removes the listener after the first event.
Adds the given listener function to the given event name for the given object instance. Returns an identifier for this listener that can be used with removeListener().
Like addListener, but the handler removes itself after handling the first event.
Removes all listeners for all events for the given instance.
Removes all listeners for the given event for the given instance.
Returns if there are listeners for the given event on the given instance. Can be used to to save the computation of expensive event details.
Removes the given listener, which should have been returned by addListener
above. Equivalent to calling
Triggers the given event. All arguments after eventName are passed as arguments to the listeners.
Generated using TypeDoc