File

src/app/app.component.ts

Metadata

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

Index

Properties

Constructor

constructor(auth: AuthenticationService)
Parameters :
Name Type Optional
auth AuthenticationService No

Properties

Public auth
Type : AuthenticationService
items
Type : Array<Item>
title
Type : string
Default value : 'FixLab'
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

Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""