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…
Monthly Archives
February 2020
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…
Scope of var var declarations are globally scoped or function/locally scoped. It is globally scoped when a var variable is declared outside a function. for example “myText” variable declare outside scope will…