Mantu Nigam
Mantu Nigam

Reputation: 4040

What is TemplateRef and ViewContainerRef?

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

How to relate TemplateRef and ViewContainerRef?

Upvotes: 0

Views: 4233

Answers (1)

Ram Budha
Ram Budha

Reputation: 180

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.

Upvotes: 1

Related Questions