How to use the primeng/dom.DomHandler.removeClass function in primeng

To help you get started, we’ve selected a few primeng examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github primefaces / primeng / src / app / components / confirmdialog / confirmdialog.ts View on Github external
disableModality() {
        if (this.mask) {
            document.body.removeChild(this.mask);
            DomHandler.removeClass(document.body, 'ui-overflow-hidden');

            if(this.blockScroll) {            
                DomHandler.removeClass(document.body, 'ui-overflow-hidden');
            }
            
            this.mask = null;
        }
    }
github primefaces / primeng / src / app / components / confirmdialog / confirmdialog.ts View on Github external
disableModality() {
        if (this.mask) {
            document.body.removeChild(this.mask);
            DomHandler.removeClass(document.body, 'ui-overflow-hidden');

            if(this.blockScroll) {            
                DomHandler.removeClass(document.body, 'ui-overflow-hidden');
            }
            
            this.mask = null;
        }
    }
github primefaces / primeng / src / app / components / password / password.ts View on Github external
setTimeout(() => {
                    DomHandler.addClass(this.panel, 'ui-password-panel-visible');
                    DomHandler.removeClass(this.panel, 'ui-password-panel-hidden');
                }, 1);
                DomHandler.absolutePosition(this.panel, this.el.nativeElement);
github primefaces / primeng / src / app / components / password / password.ts View on Github external
onBlur(e) {   
        if (this.feedback) {
            DomHandler.addClass(this.panel, 'ui-password-panel-hidden');
            DomHandler.removeClass(this.panel, 'ui-password-panel-visible');

            this.zone.runOutsideAngular(() => {
                setTimeout(() => {
                    this.ngOnDestroy();
                }, 150);
            });
        }     
    }