File

src/app/app.component.ts

Description

The main component

Metadata

selector app-root
styleUrls app.component.scss
templateUrl ./app.component.html

Index

Properties

Properties

title
title: String
Type : String
Default value : 'app'
import { Component } from '@angular/core';

/**
 * The main component
 */
@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title: String = 'app';
}
<!--The content below is only a placeholder and can be replaced.-->
<app-header></app-header>
<app-main></app-main>
<app-footer></app-footer>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""