-
Hi! |
Beta Was this translation helpful? Give feedback.
Answered by
fancyapps
Mar 22, 2023
Replies: 1 comment
-
Hi,
Also, if you store somewhere references to each instance, you can close them individually: const fb1 = new Fancybox([{html : "One"}]);
const fb2 = new Fancybox([{html : "Two"}]);
fb1.close();
fb2.close(); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
oshumelka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Fancybox.close(false);
would close only the top-most instance. It is actually the same asFancybox.getInstance().close()
.Also, if you store somewhere references to each instance, you can close them individually: