Socket
Socket
Sign inDemoInstall

laxar-accordion-control

Package Overview
Dependencies
6
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    laxar-accordion-control

Wraps the jQuery UI accordion as an AngularJS v1 directive, for LaxarJS widgets


Version published
Weekly downloads
5
Maintainers
1
Install size
18.1 MB
Created
Weekly downloads
 

Changelog

Source

v2.0.0-alpha.2

  • #8: declared .npmignore

Readme

Source

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": [ "laxar-accordion-control" ]

Now you should be able to use ax-accordion in your HTML widget template:

<div ax-accordion="{ duration: 200 }">
   <div class="ax-accordion-group">
      <div>First Panel Title</div>
      <div>Contents of first panel</div>
   </div>
   <div class="ax-accordion-group">
      <div>Second Panel Title</div>
      <div>Contents of second panel</div>
   </div>
</div>

The directive attribute can be used to specify options for the jQuery UI accordion.

FAQs

Last updated on 09 Mar 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc