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