Browse Source

Pull request #2127: 无JIRA任务 simple加推荐色接口

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '03beffe1a650a6387ca4197fe1ddb4236c2d58b3':
  无JIRA任务 simple加推荐色接口
es6
windy 3 years ago
parent
commit
5bca853b21
  1. 1
      src/case/colorchooser/colorchooser.popup.hex.simple.js
  2. 3
      src/case/colorchooser/colorchooser.simple.js

1
src/case/colorchooser/colorchooser.popup.hex.simple.js

@ -13,6 +13,7 @@ BI.SimpleHexColorChooserPopup = BI.inherit(BI.Widget, {
var self = this, o = this.options;
return {
type: "bi.hex_color_chooser_popup",
recommendColorsGetter: o.recommendColorsGetter,
value: o.value,
simple: true, // 是否有自动
listeners: [{

3
src/case/colorchooser/colorchooser.simple.js

@ -26,7 +26,8 @@ BI.SimpleColorChooser = BI.inherit(BI.Widget, {
width: o.width,
height: o.height,
popup: {
type: "bi.simple_hex_color_chooser_popup"
type: "bi.simple_hex_color_chooser_popup",
recommendColorsGetter: o.recommendColorsGetter,
}
});
this.combo.on(BI.ColorChooser.EVENT_CHANGE, function () {

Loading…
Cancel
Save