click
fires after a click on a control
click: (id: string | number, events: Event) => void;
Parameters:
- id: string | number- the ID of a clicked control
- events: Event- a native event object
Example
toolbar.events.on("click", function(id,e){
    console.log(id);
});
Related sample: Toolbar. Events