Advanced User Interface Controls and Components
Gets or sets the currently selected tab in TabStrip directive.
Param | Type | Details |
---|---|---|
name | String | The value of name attribute of the TabStrip directive |
tab (optional) | Object | The tab to be selected |
If there is no specified tab, this property returns the currently selected tab. Otherwise does not return a value.
This method is part of IntegralUITabStripService.
A call to this method will trigger beforeSelect and afterSelect events. By handling beforeSelect event you can prevent selection of specified tab using your own custom conditions.
An tab can also become selected using the selected-tab attribute of TabStrip directive. In this case only afterSelect event will be fired.
Supported in: v1.0.