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
Show More Show Less
Skills covered in this course
Development Tools Developer Angular 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 My Free Month

Start your free month on LinkedIn Learning, which now features 100% of courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month