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

Feature request to sandbox Lightbox events in a separate namespace #523

Open
flacle opened this issue May 4, 2016 · 0 comments
Open

Feature request to sandbox Lightbox events in a separate namespace #523

flacle opened this issue May 4, 2016 · 0 comments

Comments

@flacle
Copy link

flacle commented May 4, 2016

Hi!

I would like to request a feature that also seems to be a recommended practice by the jQuery API for registering event handlers with the on() function of jQuery.

For complex websites it is not always possible to easily disable Lightbox on a particular page (for instance, in cases where a frontend designer that cannot change the javascript execution order or prevent some plugins to be loaded). One way to disable Lightbox on a particular page is to unbind the registered click event on $('body') but as the jQuery API documentation specifies, this would also unbind other handlers attached to the same event type, adding a namespace to the Lightbox plugin would prevent that.

I'm including a link to my original issue posted on SO: http://stackoverflow.com/a/36471215/861597

@lokesh lokesh added this to the 3.0 milestone Oct 29, 2016
@lokesh lokesh modified the milestone: 3.0 Apr 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants