Refactor order

pull/496/head
Cagatay Civici 2020-09-21 16:12:33 +03:00
parent e62d00331e
commit 292424bc1f
1 changed files with 8 additions and 8 deletions

View File

@ -42,14 +42,6 @@ export default {
this.d_collapsed = newValue; this.d_collapsed = newValue;
} }
}, },
computed: {
ariaId() {
return UniqueComponentId();
},
containerClass() {
return ['p-panel p-component', {'p-panel-toggleable': this.toggleable}];
}
},
methods: { methods: {
toggle(event) { toggle(event) {
this.d_collapsed = !this.d_collapsed; this.d_collapsed = !this.d_collapsed;
@ -60,6 +52,14 @@ export default {
}); });
} }
}, },
computed: {
ariaId() {
return UniqueComponentId();
},
containerClass() {
return ['p-panel p-component', {'p-panel-toggleable': this.toggleable}];
}
},
directives: { directives: {
'ripple': Ripple 'ripple': Ripple
} }