top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to use One Way Binding & Two Way Binding in Angular(2/4/5)?

+1 vote
431 views
How to use One Way Binding & Two Way Binding in Angular(2/4/5)?
posted Dec 20, 2017 by Manish Tiwari

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

In One Way binding (Model to View), we need use only []
Syntax:

   [ngModel], [value] etc.. 

In One Way binding (View to Model)
Syntax:

(ngModelChange)

In Two Way Binding We need to use [()]

Syntax:

  [(ngModel)] 
answer Dec 26, 2017 by Madhavi Latha
...