src/app/app.component.ts
selector | app-root |
styleUrls | ./app.component.css |
templateUrl | ./app.component.html |
Properties |
constructor(auth: AuthenticationService)
|
||||||
Defined in src/app/app.component.ts:13
|
||||||
Parameters :
|
Public auth |
Type : AuthenticationService
|
Defined in src/app/app.component.ts:14
|
items |
Type : Array<Item>
|
Defined in src/app/app.component.ts:16
|
title |
Type : string
|
Default value : 'FixLab'
|
Defined in src/app/app.component.ts:15
|
import { Component, OnInit } from '@angular/core';
import { ApiService } from './api.service';
import { Item } from './api.service';
import { AuthenticationService } from './auth/authentication.service';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
constructor(public auth: AuthenticationService) {};
title = 'FixLab';
items: Array<Item>;
}
<router-outlet></router-outlet>
./app.component.css