Package Exports
- checkbox-radio-styler
 
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (checkbox-radio-styler) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
checkbox/radio styling module for es6
Features
- No dependencies
 - ES2015 support (use babel)
 
use browserify with babelify extension or gulp version
Installation
npm
npm install checkbox-radio-styler --savebower
bower install checkbox-radio-styler --saveUsage
include checkbox-radio-styler.js and checkbox-radio-styler.css
init
var styled = new CheckboxRadioStyler('input[type="checkbox"], input[type="radio"]');
styled.init();destroy
styled.destroy();todo:
- check input type
 - test in browsers
 - write some tests
 - test memory usage
 - maybe get rid of "ElementStyler" class