Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ngmodel angular

Template:
<input [(ngModel)]="name">
    <p>Value:{{ name }}</p>

export class BasicNgModel {
  name: string = '';
}
Source by angular.io #
 
PREVIOUS NEXT
Tagged: #ngmodel #angular
ADD COMMENT
Topic
Name
7+6 =