O
O
ololodff2021-12-24 06:42:36
JavaScript
ololodff, 2021-12-24 06:42:36

How to use aftershow function in FancyBox4?

Previously, the Fancybox3 plugin had an "afterShow" function that could run a specific function immediately after the window was opened.
Now a new version of FancyBox4 has been released and I can't figure out how to run the function immediately after opening the window?
Did they change it somehow or didn't add it at all? Or maybe there is another way to run the function after opening the window?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Dubrovin, 2021-12-24
@ololodff

https://fancyapps.com/docs/ui/fancybox/events
done event

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question