-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
setting open and close effect individually #341
base: master
Are you sure you want to change the base?
setting open and close effect individually #341
Conversation
Couple of things, first being please review the CONTRIBUTING.md if you haven't. There's no updated build, which makes me think you didn't test out your changes on the Demo site. If you open up the project and run A couple of comments regarding the actual pull request:
Normally, we'd prefer hashing out some of that in a bug report or a feature request. My own two cents, there is such a thing as too much configuration. Fixing the broken aspects of the I'm also not opposed to hashing this stuff out here. I defer to @biati-digital for most of this though, since these feel like bigger additions to me. Also nice work on the MKDocs plugin! Very clean! |
f63796f
to
194769c
Compare
@gingerchew Thanks for reviewing and reminding, I actually forgot to add the dist files. The dist files and the redundant Since the slide effect controlling logic is much more complicated than the two others, which I am not sure I can deal them correctly, and setting the slide effect individually seems not a common use case. I just reimplemented the open and close effects. Using Thank you for the compliment. GLightbox is a great package compatible with a lot of environments. Grad to help more people can enjoy the benefits of GLightbox! |
Hi @blueswen thanks for the PR, i think @gingerchew has a good point about having a lot of options, not even sure if people are using the advanced options to create custom animations (personally i never needed that in any project) or if having different slide in/out effects for each slide is even useful, definitely it would be great if we can think of a better solution. Would love to know if you find those features useful or if you have used them in a project. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Setting effect individually with
effect
data attribute is not working. To fixing this issue, I updated parseConfig to loadcloseEffect
andopenEffect
setting form data attributes, then using effects from each slide object instead of global settings.