In this session we will see very useful annotation in Angular - @ViewChild() along with example (PFB link to working example)
Using @ViewChild annotation we can access properties and methods of nested Child components inside Parent Component.
We will see how we can access any HTML Element viz. text-input or div element as well as any user-defined Nested Component element viz. 'book-component' from View into Component using @ViewChild annotation
Link to example:
https://drive.google.com/file/d/1GAx7...
Nesta página do site você pode assistir ao vídeo on-line 6. Angular : Using @ViewChild() to access HTML Element / Nested Component In Parent (with Example). duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário NTech 30 Julho 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 67 vezes e gostou 5 espectadores. Boa visualização!