We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to use dist/luminous.min.js (commit 1c53f53) and found that onChange doesn't work:
dist/luminous.min.js
onChange
new LuminousGallery( document.querySelectorAll('.gallery-item a'), {onChange: ({ imgEl }) => alert('This alert will never be triggered')}, );
But this code works:
new LuminousGallery( document.querySelectorAll('.gallery-item a'), {M: ({ j }) => alert('It works WHAT THE HECK!!!11')}, );
The minification minified things that shouldn't have been minified, lol
The text was updated successfully, but these errors were encountered:
Hey @andreymal thanks for bringing this to our attention. I've made a note of this and will ask one of our engineers to investigate.
Sorry, something went wrong.
No branches or pull requests
I tried to use
dist/luminous.min.js
(commit 1c53f53) and found thatonChange
doesn't work:But this code works:
The minification minified things that shouldn't have been minified, lol
The text was updated successfully, but these errors were encountered: