Hello,
I’m trying to refresh all the slides inside ionic-slide-box (after a push notification).
It works well, but the pager is not refreshed, instead it adds bullet points. Any idea why ? How can I force the pager to refresh itself ?
Thanks !
var notificationOpenedCallback = function(jsonData) {
$ionicLoading.show();
dataService.getData(function(dataResponse) {
// new data
$rootScope.postdata = dataResponse;
// update ionic-slide
$timeout(function(){
$ionicSlideBoxDelegate.update();
},100)
$ionicLoading.hide();
$ionicSlideBoxDelegate.slide(0);
});
};