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

Scroll to page #266

Closed
glennposadas opened this issue Oct 30, 2020 · 2 comments
Closed

Scroll to page #266

glennposadas opened this issue Oct 30, 2020 · 2 comments

Comments

@glennposadas
Copy link

First off, thanks for this library. Is it possible to scroll to a specific page? Especially when presenting the Lightbox controller? Thanks!

@alexandrgl
Copy link

You can set start index:
LightboxController(images: images, startIndex: selectedIndex)

Or use this method of LightboxController:
func goTo(_ page: Int, animated: Bool = true)

@glennposadas
Copy link
Author

Super cool! thanks! I DID NOT see these!

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

2 participants