Can a structural directive refer to a child component using @ContentChild?
问题 If I have a custom directive ParentDirective and custom component ChildComponent arranged like so: <div appParent> <app-child></app-child> </div> ...then I can use @ContentChild in the directive to refer to the component: @ContentChild(ChildComponent) child: ChildComponent; See this StackBlitz where this is working. (It logs to the console to show that the child member is set). However, if I change appParent into a structural directive, then the child member is never set. <div *appParent>