add template
This commit is contained in:
@@ -1,10 +1,28 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
import { PrimeNGConfig } from 'primeng/api';
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
templateUrl: './app.component.html',
|
||||
styleUrls: ['./app.component.scss']
|
||||
selector: 'app-root',
|
||||
templateUrl: './app.component.html'
|
||||
})
|
||||
export class AppComponent {
|
||||
title = 'sakai';
|
||||
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';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user