Set starting slide


#1

Based on what I understand, there is currently no way to set the starting slide in the slide-box. I’m currently trying to create my own 5 slide buffer. For instance:

var slides = [ ‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’, ‘10’, …, ‘1000’ ];

I want to allow only loading of 5 slides at max instead of the entire array. For instance, the states of each slide can be the following:

Slide 1: '12’
Slide 2: '13’
Slide 3: ‘14’ // Current slide
Slide 4: '15’
Slide 5: ‘16’

I was able to create this, but was not able to smoothly transition to the middle slide upon loading a new controller and view. I’ve tried using a timeout function to call $ionicSlideBoxDelegate.next(), which works, but still briefly shows the previous image.

Could you provide functionality to indicate which is the starting slide?

EDIT: I happened to miss the active-slide property. I’m going to try that and hopefully that will fix things.

EDIT: Yep that fixes thing.

DISREGARD THIS POST!


#2

Good to hear you resolved this :smile: