source object of the event.
Name of the event.
Function that is called when event is fired.
Object that is used as this
when event is fired.
Optional
once: boolean = falseIf this is a single event and will be removed after event is fired.
Private
_removedTrue if event has been removed.
Private
handlerPrivate
nameTrue if event has been removed.
Event Handle that is created by EventHandler and can be used for easier event removal and management.
Example
Example