Skip to main content

#11 angular 8 full tutorial | Input decorator in angular 9 | parent comp...

                  



Angular Pass data to child component.
#angular8 full tutorial in hindi | #Input #decorator in #angular9 | parent component to child components in angular 9



Let’s put this in practice!
@Input decorator
Let’s say that we have a component named ‘parentComponent’ and another component named ‘childComponent’. The parent wants to send a simple message that will be caught and displayed by the child.
So first, let’s create a simple string variable in our parent.component.ts file. It will contain the message that we want to give to our child.



Comments

Popular posts from this blog

Angular Material CRUD tutorial with JSON server, Angular Material Projec...

#angularwithtestycodeiz , #AngularCRUD , #Testycodeiz , #angularmaterial #angularwithtestycodeiz #testycodeiz

#1 React.js tutorial in Hindi, React tutorial for Beginners, React with ...

0:00 About Playlist 0:35 Introduction of React.js 1:50 is React library of framework? 4:28 History of React 8:30 Benefits of ReactJS 12:21 Why React.JS

Angular 11 Project, Angular Projects From Scratch, Angular Blog CMS Appl...

               Hello Every One Today we are going to Learn ,Angular 11 Project, Angular Projects From Scratch, Angular Blog CMS Application, Angular interceptor,Angular11 Project, Angular Projects From Scratch, #AngularBlog ​ CMS Application, #Angularinterceptor ​ , #ProjectwithTestycodeiz ​ ,Angular 11 Project,Angular Projects From Scratch,Angular Blog CMS Application,Angular interceptor,AngularBlog CMS Application,Angularinterceptor,ProjectwithTestycodeiz,Angular 11 Project From Scratch In Hindi 2021,ProjectinAngular,angular 9 Project from scratch,angular 10 Project from scratch,interceptor in angular testycodeiz,interceptor with testycodeiz,angular project from scratch,create angular project from scratch,angular http interceptor