Back to Taro

taro-radio-group-core

packages/taro-components/src/components/radio/readme.md

4.2.02.0 KB
Original Source

taro-radio-group-core

API

radio
属性类型默认值说明
valueStringfalse<radio/> 标识。当该<radio/> 选中时,<radio-group/> 的 change 事件会携带<radio/>的 value
checkedBooleanfalse当前是否选中
disabledBooleanfalse是否禁用
colorColorfalseradio 的颜色,同 css 的 color
bindchangeEventHandle选中项发生变化时触发 change 事件
radio-group
属性类型默认值说明
bindchangeEventHandle<radio-group/>中选中项发生改变是触发 change 事件,detail = value:[选中的 radio 的 value 的数组]
<!-- Auto Generated Below -->

Properties

PropertyAttributeDescriptionTypeDefault
namenameanyundefined

Events

EventDescriptionType
changeCustomEvent<any>

Built with StencilJS