Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular two way binding

      
        content_copy
      
      <div>
  <button (click)="dec()" title="smaller">-</button>
  <button (click)="inc()" title="bigger">+</button>
  <label [style.font-size.px]="size">FontSize: {{size}}px</label>
</div>
    
Source by angular.io #
 
PREVIOUS NEXT
Tagged: #angular #binding
ADD COMMENT
Topic
Name
4+8 =