warrag
1
Hello every on
I need to build dynamically ion-slide-box. But i each row i need tow ion-slide-box (col col-50)
I have solution but it is not good (build it through JavaScript but ion-slide-box is not showing)
I need help please
FYI I am using ionic 1.
Best Regard
Hi @warrag,
It would be good if you could paste your code here, so that anybody can get the exact source of the issue you are facing right now.
warrag
3
Hi agin
this my HTML code
<div class="row main_div_img">
<div class="col col-50 card" >
<ion-slide-box class="ss" >
<ion-slide ng-click="openModal()" >
<div class="">
<img style="width: 100px; height: 80px;" src="templates/img/t1.jpg"/>
<br>
test 1
<br>
<span style="color: red">3.95 $</span>
</div>
</ion-slide>
<ion-slide ng-click="openModal()" >
<div class="">
<img style="width: 100px; height: 80px;" src="templates/img/t1.jpg"/>
<br>
test 2
<br>
<span style="color: red">3.95 $</span>
</div>
</ion-slide>
</ion-slide-box>
</div>
<div class="col col-50 card" >
<ion-slide-box class="ss" >
<ion-slide ng-click="openModal()" >
<div class="">
<img style="width: 100px; height: 80px;" src="templates/img/t1.jpg"/>
<br>
test 3
<br>
<span style="color: red">3.95 $</span>
</div>
</ion-slide>
<ion-slide ng-click="openModal()" >
<div class="">
<img style="width: 100px; height: 80px;" src="templates/img/t1.jpg"/>
<br>
test 4
<br>
<span style="color: red">3.95 $</span>
</div>
</ion-slide>
</ion-slide-box>
</div>
</div>
now it is static just i need it dynamically through JSON