data-toggle-class
v1.0.1
Published
Toggle 'open' class for [data-toggle] elements when used
Downloads
3
Readme
Data Toggle Class (Bootstrap addition)
Toggle 'open' class on Bootstrap style [data-toggle] collapse elements when used.
Install (any of:)
yarn add data-toggle-class
npm install data-toggle-class
bower install data-toggle-class
Integrate
Include/Compile it however you wish, for example:
Webpack might be as simple as:
require('data-toggle-class/js/data-toggle-class.js');
#=include /node_modules/data-toggle-class/js/data-toggle-class.js