根组件的模板文件是( )。
A: app.component.html
B: app.component.scss
C: app.component.ts
D: app.component.spec.ts
A: app.component.html
B: app.component.scss
C: app.component.ts
D: app.component.spec.ts
举一反三
- 事件绑定的信息传递方向是( )。 A: 由组件模板文件(HTML)向组件逻辑文件(TS)传递 B: 由组件逻辑文件(TS)向组件模板文件(HTML)传递 C: 由组件模板文件(HTML)向组件样式类文件(SCSS)传递 D: 组件逻辑文件(TS)和组件模板文件(HTML)之间进行双向传递
- Tools菜单的New Component的功能是 , Remove Component的功能是, Rename Component的功能是, Copy Component的功能是
- 考虑动作事件 ActionEvent,下面哪个方法用于识别受影响的是哪个组件?(). A: Public class getClass() B: Public Object getSource() C: Public Component getSource() D: Public Component getTarget() E: Public Component getComponent() F: Public Component getTargetComponent()
- 让该组件的温度下降直到它与环境温度相同。 A: Let the temperature of the component decrease until it is the same as the ambient temperature. B: Let the temperature of the component cool to ambient. C: Let the temperature of the component decay to ambient. D: Let the temperature of the component decelerate to ambient.
- 创建组件的命令是( ) A: ng new component B: ng g component C: ng g pipe D: ng g service