click

fires after a click on a control

void click(string id,Event e){ ... };

Parameters

idstringthe ID of a clicked control
eEventa native event object

Example

toolbar.events.on("Click", function(id,e){
    console.log(id);
});

Related samples

Back to top