|
|
@ -10,6 +10,9 @@ BI.Combo = BI.inherit(BI.Widget, { |
|
|
|
trigger: "click", |
|
|
|
trigger: "click", |
|
|
|
toggle: true, |
|
|
|
toggle: true, |
|
|
|
direction: "bottom", // top||bottom||left||right||top,left||top,right||bottom,left||bottom,right
|
|
|
|
direction: "bottom", // top||bottom||left||right||top,left||top,right||bottom,left||bottom,right
|
|
|
|
|
|
|
|
logic: { |
|
|
|
|
|
|
|
dynamic: true |
|
|
|
|
|
|
|
}, |
|
|
|
container: null, // popupview放置的容器,默认为this.element
|
|
|
|
container: null, // popupview放置的容器,默认为this.element
|
|
|
|
isDefaultInit: false, |
|
|
|
isDefaultInit: false, |
|
|
|
destroyWhenHide: false, |
|
|
|
destroyWhenHide: false, |
|
|
@ -67,14 +70,13 @@ BI.Combo = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget(BI.extend({ |
|
|
|
type: "bi.vertical", |
|
|
|
element: this |
|
|
|
scrolly: false, |
|
|
|
}, BI.LogicFactory.createLogic("vertical", BI.extend(o.logic, { |
|
|
|
element: this, |
|
|
|
|
|
|
|
items: [ |
|
|
|
items: [ |
|
|
|
{ el: this.combo } |
|
|
|
{ el: this.combo } |
|
|
|
] |
|
|
|
] |
|
|
|
}); |
|
|
|
})))); |
|
|
|
o.isDefaultInit && (this._assertPopupView()); |
|
|
|
o.isDefaultInit && (this._assertPopupView()); |
|
|
|
BI.Resizers.add(this.getName(), BI.bind(function () { |
|
|
|
BI.Resizers.add(this.getName(), BI.bind(function () { |
|
|
|
if (this.isViewVisible()) { |
|
|
|
if (this.isViewVisible()) { |
|
|
|