1.0.4 • Published 7 years ago

el-checkbox-dpz v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

el-checkbox

A el-checkbox component for Vue.js.

Demo

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

Installation

npm i el-checkbox -D

Usage

import Vue from 'vue'
import ElCheckbox from 'el-checkbox'
import 'element-theme-default/dist/checkbox.css'

Vue.use(ElCheckbox)

or

import Vue from 'vue'
import { ElCheckbox } from 'el-checkbox'

Vue.component('el-checkbox', ElCheckbox)

Options

参数说明类型可选值默认值
model绑定值string[]
value真实值string
label显示值,不填则显示 valuestring
disabled禁用booleantrue, falsefalse

Development

make dev

## test
make test

## build
make build

License

MIT