element/packages/checkbox
2016-10-30 20:18:33 +08:00
..
src replace _componentTag to componentName 2016-10-30 20:18:33 +08:00
_index.js Add istanbul ignore (#521) 2016-10-19 22:48:35 +08:00
cooking.conf.js Support publish component packages 2016-10-17 12:14:10 +08:00
index.js Add istanbul ignore (#521) 2016-10-19 22:48:35 +08:00
package.json Initial commit 2016-07-27 14:15:02 +08:00
README.md Initial commit 2016-07-27 14:15:02 +08:00

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 显示值,不填则显示 value string
disabled 禁用 boolean true, false false

Development

make dev

## test
make test

## build
make build

License

MIT