Learn What the Directive Composition API Is and How To Use It in Angular 15

Описание к видео Learn What the Directive Composition API Is and How To Use It in Angular 15

In this video, we'll be explaining what the Directive Composition API is and how to use it in Angular 15. This new API allows us to create complex directives using composition instead of inheritance. We'll also be playing around with the API and seeing how it can be used to create more concise and elegant directives.

If you're new to directives and Angular 15, then this video is a great place to start. By the end of this video, you'll have a good understanding of the Directive Composition API and be able to use it in your upcoming projects!

✨ Chapters:
00:00 Intro
02:52 Create the Directives to use
08:30 Compose two Directives into one
10:25 Expose the Inputs
12:07 Expose the Outputs
14:10 Use the Directives in the host component
16:23: Use case - The host component provides data to the directive
22:26 Thank you

✨ Code: https://github.com/profanis/codeShots...

******************************************************
Let's Connect
******************************************************
Twitter:   / prodromouf  
LinkedIn:   / prodromouf  

#angular #learnAngular #angularTutorial #webdevelpment #webdeveloper #webdevelopers

Комментарии

Информация по комментариям в разработке