Called when user clicks the tab.
click(id, [event])
id string, id of the tab
event object, DOM Event object
Returns undefined.

Description

This method is called when user clicks on the tab. It is used internally, but you can use to to emulate clicks. This method emits .onClick event.
If you have tabs defined in the following way: You can add tabs: