onChange( )
Adds an event handler that runs when the tabs element moves to a different tab.
onChange()
runs when the tabs element moves to a different tab. This occurs
when you call the changeTab()
function or when a site visitor clicks on a tab menu item.
Method Declaration
Copy
Method Parameters
eventHandlerfunctionRequired
eventHandler(): void The name of the function or the function expression to run when the tabs element moves to a different tab.
Was this helpful?
Yes
No