Dynamic Rendering of html components


#1

I want to dynamically render a complete html page. I have a label, a type(toggle,checkbox,etc), layout-width as parameter from a service call.
ion-col width-{{value}} does not work.
We have two devices IPAD and IPhone , how to handle. Two source code cannot be a solution i guess.
I am new to IONIC2 .We are building a app in IONIC2 for a big customer. Please help.
I hope there will be no performance issue in future.


#2

Hey @Chatterjee,

are you still looking for a solution - this could possibly help you out. I use this solution as well for switching between grid and list view:
https://forum.ionicframework.com/t/new-responsive-ion-grid/83220/9

Good luck,
Oliver