projects/components/widgets/containers/accordion/src/accordion.directive.doc.ts
The wmAccordion directive defines the Accordion widget.
Methods |
Inputs |
onChange | ||||||||||||||||||||
onChange($event: Event, widget: any, newPaneIndex: number, oldPaneIndex: number)
|
||||||||||||||||||||
Callback function which will be triggered when an accordion pane is selected.
Parameters :
Returns :
void
|
class |
Type : string
|
Class of the widget. |
closeothers |
Type : boolean
|
Default value : true
|
This property used to allow multiple accordion panes to be visible parallelly. |
defaultpaneindex |
Type : number
|
Default value : 0
|
This property sets the default active accordion pane on load of widget based on provided index. Bindable: |
name |
Type : string
|
Name of the accordion widget. |
show |
Type : boolean
|
Default value : true
|
This property will be used to show/hide the accordion widget on the web page. Bindable: |
tabindex |
Type : number
|
Default value : 0
|
This property specifies the tab order of the accordion Widget. |