element/packages/radio
2016-11-08 15:01:00 +08:00
..
src Add locale feature (#678) 2016-10-27 17:31:22 +08:00
_index.js Components: use es2015 export module, fixed #907 2016-11-08 15:01:00 +08:00
cooking.conf.js Support publish component packages 2016-10-17 12:14:10 +08:00
index.js Components: use es2015 export module, fixed #907 2016-11-08 15:01:00 +08:00
package.json fix package.json url 2016-11-06 12:26:14 +08:00
README.md Initial commit 2016-07-27 14:15:02 +08:00

el-radio

A el-radio component for Vue.js.

Demo

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

Installation

npm i el-radio -D

Usage

import Vue from 'vue'
import ElRadio from 'el-radio'
import 'element-theme-default/dist/radio.css'

Vue.use(ElRadio)

or

import Vue from 'vue'
import { ElRadio } from 'el-radio'

Vue.component('el-radio', ElRadio)

Options

参数 说明 类型 可选值 默认值
model 绑定值 string
value 真实值 string
label 显示值,默认显示 value string
disabled 禁用 boolean true, false false

Development

make dev

## test
make test

## build
make build

License

MIT