Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
10いいね 245 views回再生

Angular Custom Directive | Angular Tutorial (Part - 7)

We'll learn about Custom Directives.
1) How to implement in Angular
2) When we should create custom Directive
3) Its benefits

Creating a custom directive is just like creating an Angular component. To create a custom directive we have to replace @Component decorator with @Directive decorator.

CLI Command
ng generate directive example

Refer below link for overview and types of directives
   • Angular Directives Tutorial | Types of Dir...  

コメント