Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.31 KB

RadioButton.md

File metadata and controls

50 lines (35 loc) · 1.31 KB

Classes

BaseButtonBaseButton

RadioButton 单选按钮

RadioButton

BaseButton ⇐ BaseButton

RadioButton 单选按钮

Kind: global class
Extends: BaseButton

RadioButton

Kind: global class
Access: public

new RadioButton(name, selectedValue)

RadioButton 构造方法.

Param Type Description
name string 控件名字
selectedValue string 选中的选项值,设备端应该根据此选项值把对应的按钮渲染为选中状态

radioButton.setSelectedValue(selectedValue)

设置选中的选项值

Kind: instance method of RadioButton
Access: public

Param Type Description
selectedValue string 选中的选项值