To Hide/show a element based on the Radio input selection is can be achieved using ngModel Directive two way binding 1. First we need to import the form Module in…
Monthly Archives
March 2020
How to get value from the input element using the template reference variable – Angular
by Amey Raut
A template reference variable is used to give reference to a DOM Element. The template reference variable can then be used anywhere inside the template. This can be done using…
you can use change event to get the selected checkbox value
it is easy to get value of selected option in ts file using (change) event binding