src/app/app.component.ts
selector | app-root |
styleUrls | ./app.component.scss |
templateUrl | ./app.component.html |
Properties |
|
constructor(data: GameResultDataService)
|
||||||
Defined in src/app/app.component.ts:9
|
||||||
Parameters :
|
Public data |
Type : GameResultDataService
|
Defined in src/app/app.component.ts:11
|
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