Auto Height Demo | Owl Carousel | 2.3.4
Author: David Deutsch
Description: autoHeight usage demo

# 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
    });