src/app/app.component.ts
selector | app-root |
styleUrls | ./app.component.less |
templateUrl | ./app.component.html |
Properties |
title |
title:
|
Type : string
|
Default value : 'Polling App'
|
Defined in src/app/app.component.ts:9
|
import { Component } from '@angular/core';
// import {ProgressBarModule} from 'primeng/progressbar';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.less']
})
export class AppComponent {
title = 'Polling App';
}
<!--The content below is only a placeholder and can be replaced.-->
<div class="card">
<!-- <div class="card-header center">
Welcome to {{ title }}!
</div> -->
<div class="card-body">
<div style="text-align:center">
</div>
<router-outlet></router-outlet>
</div>
</div>
./app.component.less