value |
组件value值 |
string |
— |
null |
stopEvent |
阻止事件 |
boolean |
true,false |
false |
stopPropagation |
阻止冒泡 |
boolean |
true,false |
false |
selected |
button的选中状态 |
boolean |
true,false |
false |
once |
点击一次选中有效,再点无效 |
boolean |
true,false |
false |
forceSelected |
点击即选中, 选中了就不会被取消,与once的区别是forceSelected不影响事件的触发 |
boolean |
true,false |
false |
forceNotSelected |
无论怎么点击都不会被选中 |
boolean |
true,false |
false |
disableSelected |
使能选中 |
boolean |
true,false |
false |
shadow |
是否显示阴影 |
boolean |
true,false |
false |
isShadowShowingOnSelected |
选中状态下是否显示阴影 |
boolean |
true,false |
false |
trigger |
被选元素要触发的事件 |
string |
mousedown, mouseup, click, dblclick, lclick |
null |
handler |
点击事件回调 |
function |
— |
BI.emptyFn |