2.0.0 • Published 6 years ago
ractive-ez-switch v2.0.0
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