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

Use lightbox standalone , without gallery. How use API ? #408

Open
YKStepanov opened this issue Feb 15, 2024 · 0 comments
Open

Use lightbox standalone , without gallery. How use API ? #408

YKStepanov opened this issue Feb 15, 2024 · 0 comments

Comments

@YKStepanov
Copy link

I only use Lightbox without gallery.
I marked all the objects with the data-nanogallery2-lightbox attribute.
Lightbox works great.
But how can I access the API? I don't have a gallery root element , this code don't work
$('#your_nanogallery2').nanogallery2('method', options);

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

1 participant