Reputation: 117
how can i slide div's in ionic framework pro grammatically using some flag? For ex. if i have two div's
<div>
div 1
</div>
<div>
div 2
</div>
i want to slide these two div's one by one , based on some flag .
Upvotes: 0
Views: 1208
Reputation: 109
You could use the SlideBox and then with the $ionicSlideBoxDelegate
If you can use selectors to identify the div, you can then call $ionicSlideBoxDelegate's slide(to, [speed]). method.
Hope this helps
Upvotes: 1