mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965, Improve build and Added *Base models
This commit is contained in:
parent
f4ba20b222
commit
9247620421
134 changed files with 4230 additions and 1729 deletions
|
@ -189,19 +189,19 @@ export default {
|
|||
|
||||
if (!this.modal) {
|
||||
if (this.maximized) {
|
||||
!this.isUnstyled && DomHandler.addClass(document.body, 'p-overflow-hidden');
|
||||
DomHandler.addClass(document.body, 'p-overflow-hidden');
|
||||
} else {
|
||||
!this.isUnstyled && DomHandler.removeClass(document.body, 'p-overflow-hidden');
|
||||
DomHandler.removeClass(document.body, 'p-overflow-hidden');
|
||||
}
|
||||
}
|
||||
},
|
||||
enableDocumentSettings() {
|
||||
if (this.modal || (this.maximizable && this.maximized && !this.isUnstyled)) {
|
||||
if (this.modal || (this.maximizable && this.maximized)) {
|
||||
DomHandler.addClass(document.body, 'p-overflow-hidden');
|
||||
}
|
||||
},
|
||||
unbindDocumentState() {
|
||||
if (this.modal || (this.maximizable && this.maximized && !this.isUnstyled)) {
|
||||
if (this.modal || (this.maximizable && this.maximized)) {
|
||||
DomHandler.removeClass(document.body, 'p-overflow-hidden');
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue