What is equivalent code for parent.$.fancybox.close(); in latest version 4? #265
Unanswered
skmusharaf786
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi, Fancybox before the fourth version was jQuery plugin and was located inside jQuery object ( Starting from v4, Fancybox is ES6 class. If you are using UMD build then it is available globally as parent.Fancybox.close(); Demo - https://codesandbox.io/s/fancybox-iframe-k4i41?file=/iframe-1.html |
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.
-
We are using fancybox with Jquery in our application.
Could you please help us with equivalent code for parent.$.fancybox.close() in latest version 4 of fancybox?
Thankyou
Beta Was this translation helpful? Give feedback.
All reactions