|
|
@ -26388,7 +26388,6 @@ BI.BasicButton = BI.inherit(BI.Single, { |
|
|
|
forceSelected: false, // 点击即选中, 选中了就不会被取消,与once的区别是forceSelected不影响事件的触发
|
|
|
|
forceSelected: false, // 点击即选中, 选中了就不会被取消,与once的区别是forceSelected不影响事件的触发
|
|
|
|
forceNotSelected: false, // 无论怎么点击都不会被选中
|
|
|
|
forceNotSelected: false, // 无论怎么点击都不会被选中
|
|
|
|
disableSelected: false, // 使能选中
|
|
|
|
disableSelected: false, // 使能选中
|
|
|
|
level: "common", |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
shadow: false, |
|
|
|
shadow: false, |
|
|
|
isShadowShowingOnSelected: false, // 选中状态下是否显示阴影
|
|
|
|
isShadowShowingOnSelected: false, // 选中状态下是否显示阴影
|
|
|
@ -26409,7 +26408,9 @@ BI.BasicButton = BI.inherit(BI.Single, { |
|
|
|
if (opts.shadow) { |
|
|
|
if (opts.shadow) { |
|
|
|
this._createShadow(); |
|
|
|
this._createShadow(); |
|
|
|
} |
|
|
|
} |
|
|
|
this.element.addClass("button-" + opts.level); |
|
|
|
if (opts.level) { |
|
|
|
|
|
|
|
this.element.addClass("button-" + opts.level); |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_createShadow: function () { |
|
|
|
_createShadow: function () { |
|
|
@ -42205,6 +42206,7 @@ BI.shortcut("bi.image_button", BI.ImageButton);(function ($) { |
|
|
|
isShadowShowingOnSelected: true, |
|
|
|
isShadowShowingOnSelected: true, |
|
|
|
readonly: true, |
|
|
|
readonly: true, |
|
|
|
iconClass: "", |
|
|
|
iconClass: "", |
|
|
|
|
|
|
|
level: "common", |
|
|
|
block: false, // 是否块状显示,即不显示边框,没有最小宽度的限制
|
|
|
|
block: false, // 是否块状显示,即不显示边框,没有最小宽度的限制
|
|
|
|
clear: false, // 是否去掉边框和背景
|
|
|
|
clear: false, // 是否去掉边框和背景
|
|
|
|
textAlign: "center", |
|
|
|
textAlign: "center", |
|
|
|