ViewChild / ViewChildren are used to access child content. This includes not only components, but also directives, services, template variables, and even dependencies. In this video, we looked at how to access the regular layout and how to work with a component after view validation.
If the content changes after validation, you need to tell Angular to re-render. Learn how to do this in this video.
=================================
Code for the finished lesson:
https://github.com/MaksymGrom/angular...
===================================
Instructions for installing an Angular project:
Option 1:
Follow the playlist: • Как работает WEB. Место и задачи Angular н...
Option 2:
Clone https://github.com/MaksymGrom/angular...
Download dependencies (npm install)
Run the project (ng serve)
================================
Choosing a code editor is up to you, but in this playlist I'm using WebStorm. How to set up one of the most popular editors is below:
VS Code: • VS Code extensions для работы с angular пр...
WebStorm: • WebStorm работа с angular проектом и GIT. ...
VUEJS REACT ANGULAR Render: • Zone.js и ChangeDetection. Как render подх...
Remember that SQL is important no matter what you plan to do in web development, even if you plan to be a project manager. The SQL course can be found at this link: • Что такое SQL? Как работать с WebSQL? Осно...
Thank you for continuing to watch and enjoy your comments.
---- Social Media
Telegram, where you can find out about new videos and receive additional content
https://t.me/webDevGromMaxChannel
P.S. I respond faster on YouTube than on Telegram. I'd appreciate comments on YouTube.
----
To support the channel
1) You can like (or dislike if you didn't like the video)
2) Leave a comment longer than 5 words
3) Watch the video to the end (this will increase retention and help me with promotion)
4) Leave feedback in the comments about what could be improved in the video so you don't want to close it.
#grommax #angular #lifecycle
You can support the channel financially in the following ways:
1) Transfer to a card: https://send.monobank.ua/7oqmsFg3Y
2) Take the survey to help choose the right support options
https://forms.gle/ZbFCKJSpDNYp4AMC6
Table of Contents
00:00 - Introduction
00:30 - @ViewChild('jqueryNeverDie')
03:08 - @ViewChild('jqueryNeverDie', {static: true})
04:07 - ng-template @ViewChild('jqueryNeverDie', {read: TemplateRef})
05:11 - What selects can be passed to ViewChild
05:46 - Extracting ChildComponent
06:21 - ExpressionChangedAfterItHasBeenCheckedError
07:47 - How to fix ExpressionChangedAfterItHasBeenCheckedError
09:43 - ViewChildren
11:21 - Quick Guide
En esta página del sitio puede ver el video en línea NgAfterViewInit & NgAfterViewChecked. ViewChild & ViewChildren decorators in Angular de Duración hora minuto segunda en buena calidad , que subió el usuario Максим Гром 01 enero 1970, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 3,221 veces y le gustó 196 a los espectadores. Disfruta viendo!