Add live popover icon property
This commit is contained in:
parent
a34f9d3583
commit
ce12dcd3b4
2 changed files with 4 additions and 2 deletions
|
@ -174,6 +174,7 @@ TouchBar.Popover = class TouchBarPopover extends TouchBarItem {
|
|||
super(config)
|
||||
this.type = 'popover'
|
||||
this._addLiveProperty('label', config.label)
|
||||
this._addLiveProperty('icon', config.icon)
|
||||
this.showCloseButton = config.showCloseButton
|
||||
this.child = config.items
|
||||
if (!(this.child instanceof TouchBar)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue