Hej there,
let's say I have one base component 'Solution' with a method doSolution().
Furthermore I have some specialized solution components like
'SolutionForProblem01' and 'SolutionForProblem02' (both extends Solution
and overrides doSolution();).
Can I iterate over an existing array e.g.:
solutions:Solution[] = [new SolutionForProblem01(), new SolutionForProblem02
()];
and display the specialized components (SolutionForProblem01,
SolutionForProblem02)?
Something like:
<div *ngFor="#solution of solutions">
<solution></solution>
</div>
Many thanks in advance
Tom M.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.