Skip to content

PierreLebedel/owlDisabledArrows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Add a disabled class on owlCarousel's non-clickable arrows. http://kodex.pierros.fr/ressource/owl-disabled-arrows/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published