Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference

selectedGroup(name, group)

Gets or sets the currently selected group in Accordion directive.


nameStringThe value of name attribute of the Accordion directive
group (optional)ObjectThe group to be selected

Return Value

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


This method is part of IntegralUIAccordionService.

A call to this method will trigger beforeSelect and afterSelect events. By handling beforeSelect event you can prevent selection of specified group using your own custom conditions.

An group can also become selected using the selected-group attribute of Accordion directive. In this case only afterSelect event will be fired.

Version Information

Supported in: v1.0.

See Also