LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


selectedTab(name, tab)

Gets or sets the currently selected tab in TabStrip directive.

Parameters

ParamTypeDetails
nameStringThe value of name attribute of the TabStrip directive
tab (optional)ObjectThe tab to be selected

Return Value

If there is no specified tab, this property returns the currently selected tab. Otherwise does not return a value.

Remarks

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.

Version Information

Supported in: v1.0.

See Also