click
fires after a click on a button in a form
click: (name: string, e: Event) => any;
Parameters:
name|id: string
- the name (or id, if the name is not specified) of a clicked buttone: Event
- a native event object
Example
form.events.on("click", function(name, events) {
console.log("click", name, events);
});
Related sample: Form. Events
Change log:
added in v7.0