ractive-ez-switch
v2.0.0
Published
Ractive Ez UI Switch
Downloads
9
Maintainers
Readme
Ractive Ez Switch
Switch component for ractive.js
Install
npm i ractive-ez-switch
import 'ractive-ez-switch';
import 'ractive-ez-switch/themes/blue.less';
Requires less-loader.
Usage
<EzSwitch value="{{ value }}" />
<EzSwitch disabled />
value
: Boolean switch valuedisabled
: If true, the switch is disabled