new FormButton()
- Mixes In:
Methods
-
fire(eventName, eventData)
-
Fire an event, causing all handlers for that event name to run.
Parameters:
Name Type Description eventName
string Name of the event.
eventData
Object The data provided to each handler.
- Mixes In:
-
on(eventName, handler)
-
Register a handler function to be called whenever this event is fired.
Parameters:
Name Type Description eventName
string Name of the event.
handler
function The handler to call.
- Mixes In: