onTabItemClicked( )


Adds an event handler that runs when any tab menu item is clicked.

onTabItemClicked() runs when a site visitor clicks on any tab menu item in the tabs element.

Method Declaration
Copy
Method Parameters
eventHandlerfunctionRequired

eventHandler(event: Event): void The name of the function or the function expression to run when a site visitor clicks a tab menu item.

Returns
Return Type:Tabs
Was this helpful?
Yes
No