mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Merge branch 'master' into v4
This commit is contained in:
commit
7681760b77
78 changed files with 6215 additions and 204 deletions
|
@ -78,13 +78,14 @@ export default {
|
|||
};
|
||||
},
|
||||
watch: {
|
||||
'$attrs.id': function (newValue) {
|
||||
this.id = newValue || UniqueComponentId();
|
||||
'$attrs.id': {
|
||||
immediate: true,
|
||||
handler: function (newValue) {
|
||||
this.id = newValue || UniqueComponentId();
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.id = this.id || UniqueComponentId();
|
||||
|
||||
this.$watch('$refs.menu.visible', (newValue) => {
|
||||
this.isExpanded = newValue;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue