What is a directive in angular 2?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at the International Labour Organization, Lives in Geneva, Switzerland.
The three types of directives in Angular 2 are capable of specific DOM operations. ... Instead, their purpose is specifically tailed to two types of DOM manipulation: Structural directives change the DOM layout by adding and removing DOM elements. Attribute directives change the appearance or behavior of an element.
2023-05-12 04:45:10
评论(499)
Helpful(122)
Helpful
Helpful(2)

Benjamin Wright
QuesHub.com delivers expert answers and knowledge to you.
The three types of directives in Angular 2 are capable of specific DOM operations. ... Instead, their purpose is specifically tailed to two types of DOM manipulation: Structural directives change the DOM layout by adding and removing DOM elements. Attribute directives change the appearance or behavior of an element.