Skip to main content

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 button
  • e: 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