src/app/app.component.ts
| selector | app-root |
| styleUrls | ./app.component.scss |
| templateUrl | ./app.component.html |
Properties |
| title |
Type : string
|
Default value : 'app01'
|
|
Defined in src/app/app.component.ts:9
|
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'app01';
}
<h3>{{title}}</h3>
./app.component.scss