Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular input change event

<input type="text" [ngModel]="mymodel" (ngModelChange)="valuechange($event)" />
{{mymodel}}

valuechange(newValue) {
  mymodel = newValue;
  console.log(newValue)
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #input #change #event
ADD COMMENT
Topic
Name
6+9 =