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…
Tag:
angular2
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
There is multiple event binding can be add in angular. Click Event to call function in .ts file on Click event “onBtnClick()” function is called. Click Event to call function…
Class binding can be used to set a class property of an element. there are multiple ways to bind the class to the element. Single class binding based on the…
Angular 4+ : How to add a selector in Component Using Custom HTML tag or as a Class or Using as an attribute.
by Amey Raut
Add angular selector as Custom HTML Tag Add selector name as below inside a double quotes in your component ts file test.component.ts app.component.html Add angular selector as Class use…
Angular CLI Angular CLI is a command line tool that can aid in creating new Angular projects from scratch or adding various elements to an existing Angular application. you’re not…
Older Posts