Rohan Ramani

Rohan Ramani

  • NA
  • 786
  • 143.9k

How do I get the datatype of <ng-template> in @Viewchild in angular

Dec 31 2020 1:52 PM
Hi All,
I have html template
  1. <ng-template #loading>  
  2.     <div>Loading...</div>  
  3. </ng-template>  
I need to access the template from typescript backend 
 

Answers (1)