iam creating an app with ionic 4 and angular. In my app I have two columns. First column contains list with list of items. second column (right side a iframe). I want to load different html page on right side for each click on left side items in list box. iam using below code:
<ion-col class="col2"> <iframe class= 'webPage' name= "samplePage" src="./assets/content/M_1_1_ani.html"> </iframe> </ion-col> </ion-row>
in my above code
I want to change the source input on every click on list pls help me to finish this.
iam getting content for list from a json, which has html files name:
Thanks in advance,
Syed Abdul Rahim