Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 556 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 556 Bytes

owlDisabledArrows

Add a disabled class on owlCarousel's arrows, when we can't go to next or go to previous slide.

Usage

var $carousel = $('#slider');

$carousel.owlDisabledArrows({
	disabledClass : 'owl-disabled'
});

$carousel.owlCarousel({
	// owlCarousel config
});

The Owl's documentation says the initialized.owl.carousel event must be attached before Owl Carousel initialization, so the call to owlDisabledArrows too.