JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 29696
  • Score
    100M100P100Q142195F

A toggle button component for Vue.js 2+

Package Exports

  • vue-js-toggle-button

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

Readme

Vue.JS toggle / switch button - simple, pretty, customizable.

Imgur

Live demo here

Install:

npm install vue-js-toggle-button --save

Import:

import ToggleButton from 'vue-js-toggle-button'
Vue.use(ToggleButton)

Use:

<toggle-button @change="..."/>
<toggle-button :value="false" :color="#82C7EB" :sync="true" :labels="true""/>