Friday, March 23, 2018

Make a wrapping component creating a double-headed snake of an Angular 4 Russian Doll hierarchy of components.

If component A wraps component B and that wraps component C and if in the template markup of component A you have the selector tab for component Z wrapping the selector tab of component B well in the markup for component Z you would need to have ng-content tags to make it make sense. But also in the template markup for component Z you could have the selector tag for component Y too!

No comments:

Post a Comment