package.docs.demos.autoheight.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of owl.carousel Show documentation
Show all versions of owl.carousel Show documentation
Touch enabled jQuery plugin that lets you create beautiful responsive carousel slider.
The newest version!
Auto Height Demo | Owl Carousel | 2.3.4
Auto Height
1
2
3
4
5
6
7
8
9
10
11
12
Overview
To enable use autoHeight: true
. At the moment works only with 1 item on screen. The plan is to calculate all visible items and change height according to heighest item.
//default settings:
AutoHeight.Defaults = {
autoHeight: false,
autoHeightClass: 'owl-height'
};
Setup
$('.owl-carousel').owlCarousel({
items:1,
margin:10,
autoHeight:true
});
© 2015 - 2024 Weber Informatics LLC | Privacy Policy