mand-mobile/components/agree
MeloHG 22914d923c test(Agree): 完善 DEMO 和测试用例 2022-08-30 11:45:23 +08:00
..
demo test(Agree): 完善 DEMO 和测试用例 2022-08-30 11:45:23 +08:00
test test(Agree): 完善 DEMO 和测试用例 2022-08-30 11:45:23 +08:00
README.en-US.md test(Agree): 完善 DEMO 和测试用例 2022-08-30 11:45:23 +08:00
README.md test(Agree): 完善 DEMO 和测试用例 2022-08-30 11:45:23 +08:00
component.js
index.vue feat: toast间距调整 && tabbar间距调整 && icon增加方形checked字体 && agree组件增加iconType属性 2022-07-21 17:47: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
icon-type 2.6.0+ select Icon String circle optional value circle or square

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