Loading Dynamic Components with Ionic & Angular ComponentFactoryResolver


By Simon

Recently one member of the Ionic Academy asked for help regarding a tough situation: How to display dynamic components based on a JSON object structure you might get from an API?

One solution to this problem is the use of the Angular ComponentFactoryResolver. Imagine you have a process with different steps that can be ordered by users how they need them – now you want to display the right process step to the user inside your Ionic app based on his decision.


This case is what we will build inside this tutorial so we can finally create dynamic components.


Read the full article....

Share on Google Plus

About www. codeandyou.com

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment