I’m using the slide-box directive in several places in my app and its keeps auto changing the slides. Simple question but is there a way to turn this off? I went digging through the slide-box js and found an auto option, but I think it has something to do with the slide-boxes initiation.
Note, the slides only auto play when does-continue="true" is added to the slide-box
EDIT: Hmm it seems to keep going after you go to the next slide… Might make an issue as a feature request for this and the ability to start it up again.
EDIT2: stop() not working is a bug, going to write a failing test for it then push the fix soon.
Well what my understanding of does-continue would do was just to let you loop through the slide shows with buttons or swipes, but not enable an auto play option. If Auto play was an available option, that would be great. In some use cases though, this isn’t a feature that should be enable by default.
If auto play becomes a feature and the user goes to the next slide, there should be a timeout that starts the auto play again if there is no interaction on the slide
I’m a little confused, what was your understanding of how the slidebox should work if does-continue="false"?
I think does-continue is what you are referring to as ‘auto’ play. The slidebox will normally only change slides if the user swipes or clicks a button, if does-continue is set to true then the slidebox will act as a slideshow until the user interacts with it, although I think as you said it could start back up after a certain period of time.
At least that’s what I thought! To be completely frank though I’m not sure now. @max, @adam, @ben, @andytjoslin thoughts?
Yes, by loop I mean letting them go back to beginning from the last slide. I know from pervious use cases that sometimes users like this feature and sometimes they don’t. Sorry for the confusion
Also interested in a solution for this. does-continue=“false” does not have the expected effect. or is there another parameter for disabling slidebox wrapping?