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

Make custom controls usable #97

Merged
merged 1 commit into from
Sep 15, 2018
Merged

Make custom controls usable #97

merged 1 commit into from
Sep 15, 2018

Conversation

approximator
Copy link
Contributor

As it was discussed in #95, it is not possible to use custom controls efficiently with current Gallery implementation.
Here is my proposed fix for the issue.

  • Added possibility to pass currentImageWillChange to the Gallery,
    so it is possible to track currently displaying image in the lightbox
  • Added a new demo of using custom controls
  • Readme updated

- Added possibility to pass currentImageWillChange to the Gallery,
  so it is possible to track currently displaying image in the lightbox

- Added a new demo of using custom controls

- Readme updated

(fixes #95)

Signed-off-by: Approximator <alex@nls.la>
@benhowell benhowell merged commit 3363e65 into benhowell:master Sep 15, 2018
@benhowell
Copy link
Owner

Thanks @approximator
Merged and NPM package published. All changes now available in v0.5.2 👍

@approximator approximator deleted the fix-custom-controls branch September 15, 2018 09:49
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

Successfully merging this pull request may close these issues.

None yet

2 participants