nx-primeng-sakai-v17/src/app/app.component.ts

30 lines
579 B
TypeScript
Raw Normal View History

2021-12-06 07:26:58 +00:00
import { Component } from '@angular/core';
2021-12-09 14:24:42 +00:00
import { PrimeNGConfig } from 'primeng/api';
2021-12-06 07:26:58 +00:00
@Component({
2021-12-09 14:24:42 +00:00
selector: 'app-root',
templateUrl: './app.component.html'
2021-12-06 07:26:58 +00:00
})
export class AppComponent {
2021-12-22 13:41:48 +00:00
2021-12-09 14:24:42 +00:00
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';
}
2021-12-06 07:26:58 +00:00
}