Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jump to slide / Reset #125

Open
besserwisser opened this issue Oct 3, 2019 · 6 comments
Open

Jump to slide / Reset #125

besserwisser opened this issue Oct 3, 2019 · 6 comments

Comments

@besserwisser
Copy link

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?

@liuloppan
Copy link

liuloppan commented Dec 2, 2019

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.

@ikhudo
Copy link

ikhudo commented May 25, 2020

Hello, any news about this PR?

@jjzcru
Copy link

jjzcru commented Jul 7, 2020

Is this merge on master?

@jjzcru
Copy link

jjzcru commented Jul 7, 2020

@liuloppan can you jump multiple frames?

@realptkkit
Copy link

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?

@amio
Copy link
Owner

amio commented Oct 26, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants