top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

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

+1 vote
55 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
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...