I've tried to create some tabs component that some how can be used like Angular Material Component.
But the solution I've made is not right and is buggy
I've used
document.getElementsByTagName('app-tab')
This is tabs component template
This is the way it used
I wanted to access app-tab
label attribute value, but don't know how to access it from app-tabs, that used ng-content
Thank you so much in advance
This is called content projection
Detailed introduction can be found here
You can access it by using @ContentChild or @ContentChildren decorators. you can read about them here :-