码迷,mamicode.com
首页 > 其他好文 > 详细

Angular6

时间:2018-12-12 15:00:31      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:nat   ann   scribe   ffffff   nta   gui   temp   ref   guid   

Structural Directives

https://angular.io/guide/structural-directives#template-input-variable

There are two other kinds of Angular directives, described extensively elsewhere: (1) components and (2) attribute directives.

component manages a region of HTML in the manner of a native HTML element. Technically it‘s a directive with a template.

An attribute directive changes the appearance or behavior of an element, component, or another directive. For example, the built-in NgStyle directive changes several element styles at the same time.

You can apply many attribute directives to one host element. You can only apply one structural directive to a host element.

Angular6

标签:nat   ann   scribe   ffffff   nta   gui   temp   ref   guid   

原文地址:https://www.cnblogs.com/oxspirt/p/10107963.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!