使用范围:WX
Contents
component Switch ($UI/comp/antd/components/Switch/Switch) extends AntdComponent
Constructor Top
Switch () |
Static Properties & Enumerations Top
String |
EVENT_VALUE_CHANGE
= "valuechange"
值改变事件 |
Events Top
void | valuechange (ValueChangeEvent event) |
Constructor details
Top
public
Switch
()
使用场景:开关选择器,需要表示开关状态/两种状态之间的切换时。
使用方法:需绑定字段和绑定备选数据集、字段使用。
public
Switch
()
Static Properties & Enumerations Detail Top
static
public
String
EVENT_VALUE_CHANGE
= "valuechange"
"valuechange"
值改变事件
Events Detail Top
值改变