How to Create Dynamic Components in Angular 13/14? | Load Components Dynamically | 2022
HTML-код
- Опубликовано: 19 июн 2022
- About the Video--------------------------
In this video, I have built a Angular 13 Website.
In this website, we can create dynamic components by just clicking on the links that is displayed.
Once clicked the component is loaded in the specified area and displayed.
If we want we can close this component, so that it can be freed from memory.
Tags---------
#angular, #angular13, #angular14, #angularproject, #angularwebsite, #frontend, #backend, #fullstackwebsite, #html, #css, #typescript
#dynamiccomponentsinangular, #angularcomponentfactoryresolver
great work
Hey Rohan, you are too good. I really loved this video. Please make video's in English as it would be more clear for me and would reach broader audience scope as well. Highly appreciate it.
Well explained. 👏👏👏
thank you . great work.
Thanks for your awesome video
100 out of 100 for your content.
Nice
Thank you brother 🤩
Nice tutorial 🔥
Thanks brother ☺️
How to bind Same component but different data on button click? Can you help me
Rohan, am getting some errors. When trying to implement the same. How can you help me in resolving it?
A. quick suggestion , variables names can be improved. eg:- Map DS name components is confusing.
Bro, can you explain at the time frame 9:07 why have you used " ! " in " container ! = viewContainerRef, "
Exclamation mark specifies that the variable will not be null. Otherwise typescript being strongly typed language throws a warning that this variable might be null.
I want to show a component as a modal/dialog on a button click
This has to be done using this method ??
If only one component then you can hardcode
But of multiple components then use this method
Can you share this project to the public repo?
Hi Rohan, your video is very helpful to me, i have created dynamic components as u mentioned in your video but unable to get data from each dynamic components. Please help me to achieve this. Please provide me the video link how to get and submit data from dynamically created components
Did u got solution ?
Did u got solution ?
Hi , Suppose we create dynamic form instead of mobile-0 mobile-1 then how we get the form values
please help me
The same way you can access normal form
how can we add permanent component after reload the page it has clear data automatically
Use the selector of that component
instead of creating getComponent()
just define it inside jsonObject like
components:any={
mobile:MobileComponent
}
a better approach
Bro github link?
Bro How can i connect with u
i have some doubts in angular
@@albinmathewsabu752 what?
@@programmer_rohan angular itself 🤣
it would be cool if it's in english
Marathi acent
😆👏
Bro do you have Instagram acc i have many doubts please rpely
i have also