re-carousel
re-carousel copied to clipboard
Jump to slide / Reset
How can I jump to a particular slide? I have to "reset" the slider to the first slide by code. I could not find any way to jump to the first slide (tried to find indicator click possibilities, but there are not implemented according to #100). Is there some way to achieve what I want to do?
I just made a pull request for this, you can use that code #126 You can pass 'currentFrameIndex' as a prop y´to your Carousel to jump to a slide. For solving issue #100 you can use 'setFrameHandler(index)' in the same PR, in a similar fashion as using 'nextHandler' and 'prevHandler' for Widgets (see their example of indicator dots). You can also call 'setFrameHandler(index, milliseconds)' to specify how fast the frames should pass between updating.
Hello, any news about this PR?
Is this merge on master?
@liuloppan can you jump multiple frames?
Hey that would be a real cool (and important) feature. Seems to be on hold for a longer time now. Is there any plan to merge it in the near future?
Sorry guys I don't have time to continue working on this, you are welcome to make a fork if you would like to make some update.