Replies: 1 comment 1 reply
-
Hey @mumus, There is no default method available to maximize the inline gallery. Here is the demo - https://codepen.io/sachinchoolur/pen/vYpxRGO inlineGallery.outer.on("click", (e) => {
const $item = inlineGallery.outer.find(".lg-current .lg-image");
if (
e.target.classList.contains("lg-image") ||
$item.get().contains(e.target)
) {
inlineGallery.$container.removeClass("lg-inline");
}
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. Please, help. How to maximize inline gallery by clicking on current image, but not by clicking showMaximizeIcon? Thank u.

Beta Was this translation helpful? Give feedback.
All reactions