元素操纵之 @View/ContentChild Photo by Walter Cheung on Unsplash 有时候,我们希望直接操纵页面上的元素或组件。为此,Angular 为我们提供了 @ViewChild 和 @ContentChild 来获得页面元素的引用。 继续阅读元素操纵之 @View/ContentChild