I want to load 3 components in my app dynamically on click of some buttons, I read some docs and blogs I was able to implement the code and get the desired result of dynamically loading different components on clicks.But my question is how angular actually manages to load the requested components internally and what is internal working for the same.
Like for example, internally Ngif directive angular sets the display property and thus in return handles the show hide functionality for the element by using ViewContainerRef
Aucun commentaire:
Enregistrer un commentaire