Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular input value

<form (submit)="onSubmit()">
   <input [(ngModel)]="playerName">
</form>

let playerName: string;
onSubmit() {
  return this.playerName;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #input
ADD COMMENT
Topic
Name
5+7 =