@ViewChild
to retrieve child view object defined in current component template, @ContentChild
also looks view objects injected through <ng-content>
@ViewChild
to retrieve child view object defined in current component template, @ContentChild
also looks view objects injected through <ng-content>
本文标题:Difference of Angular @ViewChild
本文链接:https://www.haomeiwen.com/subject/fdmloftx.html
网友评论