YS
Size: a a a
МШ
МШ
S
МШ
S
أИ
S
MK

R
SA
VM
AE
AE
<div mainDirective>
<div childDirective>
</div>
</div
@Directive({selector: '[childDirective]'})
export class ChildDirective {
constructor(@Inject(forwardRef(() => MainDirective)) public mainDirective) {
}
}
@Directive({selector: '[mainDirective]'}})
export class MainDirective implements AfterContentInit {
@ContentChild(ChildDirective, {static: false}) private childDirective: ChildDirective;
}
AE
R
ИК

Р
AF
R