Answer the question
In order to leave comments, you need to log in
Why doesn't the initialized event fire on owl.carousel?
Good day.
I use owl.carousel 2.0 in the project.
I need some functions to be executed after the carousel is ready
. The documentation ( Documentation ) describes events, including the one I need - initialize.owl.carousel
If I understand correctly, this event means the carousel is fully loaded.
But when tracking this event, nothing happens.
I tried to track other events - everything is fine, everything works, but something is wrong with this one.
Maybe someone came across?
reviewsCarousel.on('initialized.owl.carousel', function() {
oneHeight();
console.log('Initialized');
})
owl = $('#owl-carousel');
owl.owlCarousel
({
....
onInitialized: carouselInitialized
.....
});
function carouselInitialized(event){....}
Answer the question
In order to leave comments, you need to log in
Вопрос решен:
owl = $('#owl-carousel');
owl.owlCarousel
({
....
onInitialized: carouselInitialized
.....
});
function carouselInitialized(event){....}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question