Question: What is the purpose of the ContentChildren decorator in this component class?
- If any _TabsComponent_ elements are added to the _TabsListComponent_ template, they will get put into the
element at runtime. - It creates _TabComponent_ components in the _TabsListComponent_ template when a _TabsListComponent_ is instantiated.
- It provides access from within the component class to any _TabComponent_ components that were content projected into the
for this component. - It restricts the allowed elements that can be put into a _TabsListComponent_ element to allow only _TabComponent_ elements.
Answer: The correct answer of the above question is Option C:It provides access from within the component class to any _TabComponent_ components that were content projected into the