mand-mobile/components/agree
xuxiaoyan 6998a6cf80 doc: update preview links 2019-01-29 16:31:24 +08:00
..
demo example: update demos for style 2018-12-03 21:29:22 +08:00
test test: update snapshots 2019-01-29 11:34:25 +08:00
README.en-US.md doc: update preview links 2019-01-29 16:31:24 +08:00
README.md doc: update preview links 2019-01-29 16:31:24 +08:00
component.js Initial commit 2018-03-26 16:04:04 +08:00
index.vue fix(agree): icon dislocation 2019-01-03 17:10:45 +08:00

README.en-US.md

title preview
Agree https://didi.github.io/mand-mobile/examples/#/agree

For toggling states

Import

import { Agree } from 'mand-mobile'

Vue.component(Agree.name, Agree)

Code Examples

API

Agree Props

Props Description Type Default
v-model checked Boolean false -
disabled - Boolean false -
size size of icon String md refer to Icon for optional values

Agree Instance Events

@change(name, checked)

Invoked when checked state is changed

Props Description Type
name unique name of radio button Number/String
checked - Boolean