But this only works if i have one child, to pass exactly two for example i
would love to do:
@ContentChild('a', { read:TemplateRef, static:false }) myTemplate:
TemplateRef<any>;
@ContentChild('b', { read:TemplateRef, static:false }) myTemplate:
TemplateRef<any>;
instead of using @ContentChildren.
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/angular/d6d64a83-0687-4c76-aa6d-7681617e83ae%40googlegroups.com.