Advanced User Interface Controls and Components
Gets or sets the currently selected group in Accordion directive.
Param | Type | Details |
---|---|---|
name | String | The value of name attribute of the Accordion directive |
group (optional) | Object | The group to be selected |
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.
Supported in: v1.0.