How to Create Shared Components in Angular Template-Driven and Reactive Form

added by JavaScript Kicks
10/23/2018 8:04:15 AM

274 Views

Back to our topic, How can we make a shared component (such as dropdown) for these both approaches? Angular has the answer for this by using ControlValueAccessor . It is an interface that acts as a bridge between the Angular forms API and a native element in the DOM.


0 comments