1. Angular 装饰器一共有,如下图:

Angular 装饰器 (适用于Angular2+)

2. 其中常用的有 

ViewChild      引入子组件对象时使用

Component    组件

input              子组件接受注入参数标识

output 子组件返回信号函数标识

Pipe 管道

Injectable service

NgModule 模块

相关文章:

  • 2022-12-23
  • 2022-03-07
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
  • 2021-10-06
  • 2021-06-06
  • 2022-02-06
猜你喜欢
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案