Тёмный

@ViewChildren vs @ContentChildren in Ionic 

Joshua Morony
Подписаться 74 тыс.
Просмотров 10 тыс.
50% 1

In this tutorial, we walk through how to grab elements in your Ionic applications and the difference between @ViewChildren and @ContentChildren
Blog post: www.joshmorony.com/video-view...
The Difference Between @ViewChildren and @ContentChildren: www.joshmorony.com/the-differ...
Custom Components: • Custom Components in I...
Learn Ionic: www.joshmorony.com/building-m...

Опубликовано:

 

16 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@rnseby
@rnseby 7 лет назад
This was awesome, great explanation. Also I loved how you showed looking stuff in the source code.Gives a better insight of what you are thinking while programming.
@ganapathipranesh8506
@ganapathipranesh8506 6 лет назад
simple, yet precise! Thanks
@mvvmmvc1128
@mvvmmvc1128 7 лет назад
God gives you the well-being, does not deprive us your creations Thank you, my brother
@thesamarthagarwal
@thesamarthagarwal 7 лет назад
Awesome explanation and example. Please make a video on creating sliding tabs component.
@mvvmmvc1128
@mvvmmvc1128 7 лет назад
Yes, brother, I am with you , Good idea
@thewodrosdemilew4999
@thewodrosdemilew4999 6 лет назад
Hi Josh, thanks for these videos. They are very helpful. ... Let me ask you a question on ViewChildren. Let's say I have 100 ion-items in a ion-list. And let's say I want to get a specific ion-item - say the 5th one or the item that the user interacting to ("the active item"). ... I know ViewChildren can return an array of all the 100 items and then I can get the one item i need from the array. However, I believe that is very inefficient because we need only one item but we are first reading all the items in the list (100 items in this example). And it gets worse as the number of items in the list increases. ... So the question is: is there a way to grab only that desired item without reading all the items in the list? I thought the filter method could be use here, but couldn't figure out how. ... Thanks again!
Далее
@ViewChild/@ViewChildren in Angular (Tutorial 35)
19:31
The Role of Unit Tests in Ionic
12:24
Просмотров 10 тыс.
How, Why, and When to Use Providers in Ionic
16:05
Просмотров 30 тыс.
Setting up Custom Components in Ionic
8:30
Просмотров 21 тыс.
The perfect use case for RxJS... violins?
9:26
Google Data Center 360° Tour
8:29
Просмотров 5 млн
ng-content in Angular | Directives | Angular 12+
12:54
Drab to Fab: Styling an Ionic Application - Part 1
24:08
This made me NOT hate note taking (as a developer)
7:23