Skip navigation

Implementing two-way binding

Implementing two-way binding: Angular2 for .NET Developers
Implementing two-way binding: Angular2 for .NET Developers

To show a component class property in the template and update that property when the user makes a change requires two-way binding. To specify two-way binding in Angular, we use the ngModel directive. We enclose ngModel in square brackets to show property binding from the class property to the input element, and parentheses to dend a notification of the user-entered data back to the class property. We demo this two-way binding between the search input box & the SEARCHING label.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 41m
Duration
19,085
Views
Show More Show Less
Skills covered in this course
Development Tools Developer AngularJS Visual Studio

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now