What you see here must become:
@ContentChild('templateReference', {read: TemplateRef, static: true}) templateInstance:
ContentChild;
Of the "static" addition this offers: True to resolve query results before change detection runs, false to resolve after change detection.
No comments:
Post a Comment