versie 1.3.0 - the 'feel' update
This commit is contained in:
17
src/app/current-score/current-score.component.ts
Normal file
17
src/app/current-score/current-score.component.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-current-score',
|
||||
imports: [],
|
||||
templateUrl: './current-score.component.html',
|
||||
styleUrl: './current-score.component.css'
|
||||
})
|
||||
export class CurrentScoreComponent implements OnInit{
|
||||
round: string;
|
||||
|
||||
ngOnInit(): void {
|
||||
this.round = localStorage.getItem('question')[0]
|
||||
}
|
||||
|
||||
protected readonly localStorage = localStorage;
|
||||
}
|
||||
Reference in New Issue
Block a user