el-switch

v1.0.0
A switch component for vue.js
element vue component

el-switch

A el-switch component for Vue.js.

Demo

http://element-component.github.io/el-switch

Installation

npm i el-switch -D

Usage

import Vue from 'vue'
import ElSwitch from 'el-switch'
import 'element-theme-default'

Vue.use(ElSwitch)

or

import Vue from 'vue'
import { ElSwitch } from 'el-switch'

Vue.component('el-switch', ElSwitch)

Options

name description type default

Development

make dev

## test
make test

## build
make build

License

MIT

npm i el-switch

Metadata

  • MIT
  • Whatever
  • elemefe
  • released 6/13/2016

Downloads