The Role of "exportAs" Property in Angular [RE-UPLOADED]
ฝัง
- เผยแพร่เมื่อ 23 ก.ค. 2024
- Level up your Angular skills with my Advanced Courses 🚀
bit.ly/advanced-angular-courses
Sometimes small tricks might let you implement features with less effort. One of these tricks is using the exportAs feature that can help you to get the reference to the directive or component instances right in the template. In this video, you will see it in action. Please help to share this video if you find it useful. Enjoy!
💁 If you want to support the channel:
bit.ly/donate-to-decoded-fron...
💡 Short Frontend Snacks (Tips) every week here:
Twitter - / decodedfrontend
Instagram - / decodedfrontend
LinkedIn - / dmezhenskyi
🕒 Time Codes:
00:00:00 - Intro;
00:00:40 - Reasons why video is re-uploaded;
00:01:14 - About Referencing Template Elements;
00:05:52 - ExportAs property in Action;
00:10:27 - Outro;
#angular #webdevelopment - วิทยาศาสตร์และเทคโนโลยี
Level up your Angular skills with my advanced courses 🚀
bit.ly/advanced-angular-courses
Талант розглядати цікаві теми. Один з кращих каналів по Ангуляру!
Дякую 🙌🏻
You are the best, thank you, I will be very happy to see deep explanation of angular animations by you, thank you agin ❤
Дякую, шикарне відео
🙌🏻
Thank you Dmytro for this new version of the video on exportAs.
The explanations are much clear and precise.
I hope it is really so :) Thank you!
Thank for your explaination!
Thank you. Glad to hear that 🙂
Very informative. Thanks buddy
Excellent video!! Thank you so much..
Thanks for another useful video, Dmytro 😉
Thank you for the updated video :)
Can you make the video series of angular universal(SSR) to improve the performance. It would be really cool if you cover the performance and hosting and minimizing the bundle size of SSR application.
Very clear explanation. I haven't used this property yet but it's good to understand the possible use cases.
Дякую! 👍
🙌🏻 you are welcome! Thanks for this comment.
Thank you, as always
Thank you 😊
Дуже хороший приклад
Дякую 😊
so beautiful English!
Thank you (if it is not a touch of sarcasm 😅).
very cool video
can you please make a video about best practices of angular application structure? How should we create, manage and use our libraries? what is the pros and cons?
awesome ❤
Thanks 🤗
I thought I missed some bonus time video, while saw it in subscription, but didn't see it in your channel 😂
It is actually good for you that you didn't see it because this one is more accurate 😉
Please upload your previous video of this export as, which you have deleted. That was also very beautiful expression.
useful and shared
Thanks for clear explanation, I have understood that exportAs enables access to directive instance.
Can element allow more than on template reference in case I want access to both input and directive
Can exportAs replace @Input and @Output communicate to directive
Hi! Yes, you can have multiple template references on the same element. Regarding replacing inputs and outputs I would not say that it can be replaced by it.
why formControlName directive don't have exportAs variable ?
I think it is because, unlike ngModel, the FormControlName doesn’t „own“ the FormControl instance which represents the state of control, so there is nothing to read from that.
@@DecodedFrontend Due to that showing form controls validation errors will be little bit tough.
Було корисно😊
Радий це чути. Дякую! :)
:)
I see very useful and cool property. I personally dont know about this new property.
Actually, it is not a new one :) It exists quite a lot but it was used not so often