$(function () { var options; // Type: wijmo.accordion.wijaccordion.options $(".selector").wijaccordion(options); });
function wijaccordion() : any;
$(function () { var options; // Type: wijmo.accordion.wijaccordion.options $(".selector").wijaccordion(options); });
function wijaccordion() : any;
Name | Description | |
---|---|---|
animated | Default value: 'slide' Sets the animation easing effect that users experience when they switch between panes. | |
duration | Default value: null The animation duration in milliseconds. | |
event | Default value: 'click' Determines the event that triggers the accordion to change panes. | |
expandDirection | Default value: 'bottom' Determines the direction in which the content area of the control expands. | |
header | Default value: '> li > :first-child,> :not(li):even' Determines the selector for the header element. | |
requireOpenedPane | Default value: true Determines whether clicking a header closes the current pane before opening the new one. | |
selectedIndex | Default value: 0 Gets or sets the zero-based index of the accordion pane to show expanded initially. |
Name | Description | |
---|---|---|
activate | Activates the accordion content pane at the specified index. | |
destroy | Remove the functionality completely. This will return the element back to its pre-init state. | |
refresh | Refresh the accordion. | |
widget | Returns a jQuery object containing the original element or other relevant generated element. |
Name | Description | |
---|---|---|
beforeSelectedIndexChanged | Occurs before an active accordion pane change. | |
selectedIndexChanged | Occurs when an active accordion pane changed. |