A collection of handlers which get called in order when the event is triggered.
Add a new handler to the event.
Returns the added ShimiHandler object.
The new handler, either as a function, or a ShimiHandler object.
Remove the specified handlers from the event.
Runs the collection of handlers that have been added to the event.
Generated using TypeDoc
The ButtonEvent class extends ShimiEvent, providing an object which can be subscribed to.
When the event is fired, it calls all subscribed event handlers, passing in a ButtonEventData object containing information about the button that triggered the event.