|
|
@ -47,6 +47,7 @@ export class HexColorChooserPopup extends Widget { |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
recommendColorsGetter: emptyFn, // 推荐色获取接口
|
|
|
|
recommendColorsGetter: emptyFn, // 推荐色获取接口
|
|
|
|
simple: false, // 简单模式, popup中没有自动和透明
|
|
|
|
simple: false, // 简单模式, popup中没有自动和透明
|
|
|
|
|
|
|
|
colorItems: null, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
render() { |
|
|
|
render() { |
|
|
@ -167,6 +168,7 @@ export class HexColorChooserPopup extends Widget { |
|
|
|
type: HexColorPicker.xtype, |
|
|
|
type: HexColorPicker.xtype, |
|
|
|
space: true, |
|
|
|
space: true, |
|
|
|
value: o.value, |
|
|
|
value: o.value, |
|
|
|
|
|
|
|
items: o.colorItems, |
|
|
|
listeners: [ |
|
|
|
listeners: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
eventName: ColorPicker.EVENT_CHANGE, |
|
|
|
eventName: ColorPicker.EVENT_CHANGE, |
|
|
|