JSPM

ractive-ez-switch

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q34728F
  • License WTFPL

Ractive Ez UI Switch

Package Exports

  • ractive-ez-switch

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 (ractive-ez-switch) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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 value
  • disabled: If true, the switch is disabled