0

I am implementing a directive but I am confused in term of jquery and Pseudo DOM. i.e.

How to relate TemplateRef and ViewContainerRef?

Sunil Garg
  • 14,608
  • 25
  • 132
  • 189
Mantu Nigam
  • 3,690
  • 7
  • 24
  • 41
  • 1
    You might want to read this [Exploring Angular DOM manipulation techniques using ViewContainerRef](https://hackernoon.com/exploring-angular-dom-abstractions-80b3ebcfc02). Also, your question is very generic, can you make it more specific? – Max Koretskyi Jul 18 '17 at 19:25
  • [Similar Question](https://stackoverflow.com/questions/40228712/angular-2-understand-viewcontainerref-usage-with-templateref) – Deepen Aug 14 '17 at 06:11
  • @AngularInDepth.com: I can see that you have written some outstanding blogs & answers for Angular. Would you please be kind enough to provide inputs on https://stackoverflow.com/questions/47911385/importance-of-maintaining-states-on-the-ui-side-angular4. I cant find satisfactory answer – Samuel Dec 21 '17 at 12:45

1 Answers1

1

TemplateRef : It represents an embedded template that can be used to instantiate embedded

ViewContainerRef: It represents a container where one or more views can be attached.

Ram Budha
  • 180
  • 1
  • 11