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.
eventHandler(event: Event): void
The name of the function or
the function expression to run when the tabs element moves to a different tab.