Merge pull request #2541 from shayyzhakov/overlay-panel-dynamic-dismissable
OverlayPanel dynamic dismissable controlpull/2742/head
commit
f37074fbb3
|
@ -58,6 +58,15 @@ export default {
|
|||
visible: false
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
dismissable(newValue) {
|
||||
if (newValue) {
|
||||
this.bindOutsideClickListener();
|
||||
} else {
|
||||
this.unbindOutsideClickListener();
|
||||
}
|
||||
}
|
||||
},
|
||||
selfClick: false,
|
||||
target: null,
|
||||
eventTarget: null,
|
||||
|
|
Loading…
Reference in New Issue