The event type exposes the following methods.

Methods

NameDescription
Public method add(Function) Adds the specified handler to the end of the collection.
Public method clear Clears the collection.
Public method count Returns the number of event handlers actually contained in the collection.
Public method remove(Function) Removes the specified handler from the collection.