laxar-accordion-control
Wraps the jQuery UI accordion as an AngularJS v1 directive, for LaxarJS widgets.
Installation
To use this control you should install it into your LaxarJS v2 project:
npm install laxar-accordion-control
This control requires jQuery UI and only works for LaxarJS widget that are targeting AngularJS v1.
Usage
Reference the control from the widget.json
descriptor of your widget:
"controls":
Now you should be able to use ax-accordion
in your HTML widget template:
First Panel Title Contents of first panel Second Panel Title Contents of second panel
The directive attribute can be used to specify options for the jQuery UI accordion.