M
M
MaximKav2020-07-10 19:39:46
JavaScript
MaximKav, 2020-07-10 19:39:46

Lazy load when opening popup - how to trigger an event?

The site works lazy-load from https://github.com/verlok/vanilla-lazyload , but it only works on scroll. I have images in a popup form that only opens when a button is clicked. The form is assigned a display block. However, the scrolling does not occur and the pictures are not loaded (and then loaded only when scrolling ..), how can I solve the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WapSter, 2020-07-10
@MaximKav

Is it difficult to do something like this?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question