【发布时间】:2018-07-10 11:03:34
【问题描述】:
我正在使用 Angular 应用程序,我主要参考 Angular 的官方文档,我发现 Angular 应用程序中有三种类型的指令,请参见下图。
现在我的问题是我知道结构指令和属性指令但是我没有找到任何关于 component--directive with template 的信息。如果您了解 component--directive,需要您的帮助。
【问题讨论】:
-
Component=directive with template. -
这只是一个组件,用
@Component注解的东西;这是一种指令,文档中有很多关于它们的内容! -
@jonrsharpe:有道理。感谢您的评论。
标签: angular