Back to Browse

Template Reference Variable | Data Binding | Angular 12+

38.9K views
Jan 28, 2022
18:29

In this lecture you are going to learn about template reference variable, also called as local reference variable and what is its use. A template reference variable is simply a variable which stores a reference to an HTML element in the DOM, or to a component or directive. Using reference variable, we can pass around that HTML element, component or directive in the template or to component class and use it. Let's understand template reference variable with some examples.

Download

1 formats

Video Formats

360pmp423.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Template Reference Variable | Data Binding | Angular 12+ | NatokHD