File

src/app/app.component.ts

Metadata

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

Index

Properties

Constructor

constructor(data: GameResultDataService)
Parameters :
Name Type Optional
data GameResultDataService No

Properties

Public data
Type : GameResultDataService
import { Component } from '@angular/core';
import { GameResultDataService } from './services/game-result-data.service';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {

constructor(public data: GameResultDataService){}

}
<span style="height: 100vh; background-color: yellow">
  <router-outlet></router-outlet>
</span>

./app.component.scss

Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""