Загрузка страницы

How to call function of another component in Angular 17+?

Visit Blog Article: https://www.ayyaztech.com/blog/how-to-call-a-function-from-another-component-in-angular-17
Above URL is the written version of this tutorial. Source code is also provided in above article.

In this video, I demonstrated two methods on how to call a function of another component in Angular 17+. The first method involves accessing a function from a child component and the second method uses a service to access a function from a sibling component.

=====================
Chapters:
=====================
00:00:00 Introduction
00:03:12 Setting up child component example
00:05:33 Accessing child component function
00:08:23 Setting up sibling components example
00:10:43 Using service to access function in sibling component
00:11:15 Conclusion

#Angular17+ #ComponentFunction #ServiceUsage

=====================
Related Videos:
=====================
🔧 How to pass data to sibling component in Angular 17?: https://www.youtube.com/watch?v=ehQD7lpNAMg
📱 How to validate phone number in Angular 17?: https://www.youtube.com/watch?v=AnbvebNHfes
🔑 How to use JWT token in Angular 17: https://www.youtube.com/watch?v=Nh6l9uzU6dg
🎞️ How to play video in Angular 17?: https://www.youtube.com/watch?v=ciJt2jXWRKo
📄 How to generate PDF in Angular 17?: https://www.youtube.com/watch?v=ce4HA5lDdms
🎨 How to customize Angular material theme | Angular 17?: https://www.youtube.com/watch?v=M7q2Ty-y2zQ
🌐 How to use RapidAPI in Angular 17?: https://www.youtube.com/watch?v=c1OdDArBuv0
🌟 How to add Star Rating in Angular 17?: https://www.youtube.com/watch?v=rryzENCdiNA
⭐ How to add color picker in Angular 17?: https://www.youtube.com/watch?v=CV5OmdovKHs
🔗 How to Add RouterLink to Button in Angular 17?: https://www.youtube.com/watch?v=31Yi8tUJjl0

=====================

To read written versions of AyyazTech tutorials, please visit https://AyyazTech.com

=============

If you want more content like this then please subscribe to my channel and click on the bell icon to get all of the notifications.

https://www.youtube.com/channel/UCL5nKCmpReJZZMe9_bYR89w?sub_confirmation=1

Видео How to call function of another component in Angular 17+? канала AyyazTech
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
29 мая 2024 г. 21:30:06
00:11:18
Яндекс.Метрика