Called when user clicks on a toolbar item.
click(id, [event])
id |
string, id of the toolbar item |
event |
object, DOM Event object |
Returns undefined.
Description
This method is called when user clicks on the toolbar item. It is used internally, but you can use to to emulate clicks. This method
emits .onClick event.
If you have toolbar defined in the following way:
You can check toolbar item: