nx-primeng-sakai-v17/src/app/app.component.ts
2021-12-22 16:41:48 +03:00

30 lines
579 B
TypeScript

import { Component } from '@angular/core';
import { PrimeNGConfig } from 'primeng/api';
@Component({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
menuMode = 'static';
inputStyle = 'outlined';
ripple: boolean;
darkMode: boolean = false;
lightMode: boolean = true;
theme = 'light';
constructor(private primengConfig: PrimeNGConfig) {
}
ngOnInit() {
this.primengConfig.ripple = true;
this.ripple = true;
document.documentElement.style.fontSize = '14px';
}
}