mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - Add global and local config
This commit is contained in:
parent
bd7e602fd8
commit
3c46461c50
2 changed files with 9 additions and 1 deletions
|
@ -8,6 +8,10 @@ export default {
|
|||
pt: {
|
||||
type: Object,
|
||||
default: undefined
|
||||
},
|
||||
unstyled: {
|
||||
type: Boolean,
|
||||
default: undefined
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -41,6 +45,9 @@ export default {
|
|||
},
|
||||
defaultsParams() {
|
||||
return { instance: this.$ };
|
||||
},
|
||||
isUnstyled() {
|
||||
return this.unstyled !== undefined ? this.unstyled : this.$primevue.config.unstyled;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue