A
A
auspn2018-02-23 13:31:01
css
auspn, 2018-02-23 13:31:01

How to remove white on loading in owl carousel 2?

Hello. On my site there was an owl carousel v1.... slider, updated to the latest version 2.2.1. When the first version was on, after loading the page, it was clear how the pictures were loaded and working, in the second version, for about 3 seconds, the white screen only starts after that. How to make a download like in the first version?

After ~ 3 seconds (as I understand it, when all the images are loaded) -
This code for v2.

function() {
        var e = $(".owl-carousel");
        e.owlCarousel({
            smartSpeed: 1500,
            margin: 0,
            dotsContainer: !0,
            loop: !0,
            nav: !0,
            autoplay: !0,
            responsive: {
                0: {
                    items: 1
                },
                1e3: {
                    items: 1
                }
            }
        })
    }(),

UPDATE. Sorry for the inaccuracy, owl.carousel.2.0.0-beta.2.4 was used
By enumeration observed in all versions above 2.0.0-beta.2.4.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question