Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

JavaScript Widgets

Gareth Joyce edited this page Jan 26, 2017 · 5 revisions

Dependencies

  • jQuery
  • jQuery UI (just widget)

How to use

To use toggles you must include the following files on your page.

  • chop.base.widget.js
  • chop.toggle.widget.js (requires base)
  • chop.collapsible.widget.js (requires base & toggle)

Cascading Options

Any option that is passed in when initialising the widgets via javaScript can be overridden on the local element level. (All data-cc- attributes will always override any options set via javaScript).

Clone this wiki locally