Загрузка...

Angular 17.2: ViewChildren and Defer Components

Have you ever wondered if you can use the "viewchildren" query to access your #angular components wrapped with the #defer block?
Well, the short answer is YES!
The deferred components behave similarly to the non-static components. With non-static I mean those components that are registered to the DOM using for example an "if" condition.

In this short video, you will see how to use the #viewChildren function (available in #Angular 17.2) to access your components.

Please note that you can even use the @ViewChildren decorator.

******************************************************
Let's connect
******************************************************
Twitter: https://twitter.com/prodromouf
LinkedIn: https://www.linkedin.com/in/prodromouf/

#angular #learnAngular #angularTutorial #angular17 #softwareengineer #softwaredeveloper #frontend #frontenddeveloper

Видео Angular 17.2: ViewChildren and Defer Components канала Code Shots With Profanis
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять