selected¶
selected
is a DOM event that occurs whenever the h-tab webcomponent gets selected.
Event body¶
The selected
body has a TTabSelectedEventDetail type which represents the details of the selected tab. It is optional so it might not exist.
Example¶
In this example we listen to selected
event and perform an action whenever it's emitted.