1<form (submit)="onSubmit()">
2 <input [(ngModel)]="playerName">
3</form>
4
5let playerName: string;
6onSubmit() {
7 return this.playerName;
8}
9
1const type = (<HTMLInputElement>document.getElementById('type')).value;
2
3
4#https://www.fiverr.com/tamerjarrar