UI: color picker popover for data key config
This commit is contained in:
parent
e1f8f51900
commit
73ac2f0936
@ -523,10 +523,11 @@ export class DataKeysComponent implements ControlValueAccessor, OnInit, OnChange
|
||||
const colorPickerPopover = this.popoverService.displayPopover(trigger, this.renderer,
|
||||
this.viewContainerRef, ColorPickerPanelComponent, ['leftTopOnly', 'leftOnly', 'leftBottomOnly'], true, null,
|
||||
{
|
||||
color: key.color
|
||||
color: key.color,
|
||||
colorCancelButton: true
|
||||
},
|
||||
{},
|
||||
{}, {}, true);
|
||||
{}, {}, false, () => {}, {padding: '12px 4px 12px 12px'});
|
||||
colorPickerPopover.tbComponentRef.instance.popover = colorPickerPopover;
|
||||
colorPickerPopover.tbComponentRef.instance.colorSelected.subscribe((color) => {
|
||||
colorPickerPopover.hide();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user