---
title: Auto Height Demo
subTitle: Auto Height
nav: demos
description: autoHeight usage demo
sort: 5
tags:
- demo
- plugin
---
1
2
3
4
5
6
7
8
9
10
11
12
{{#markdown }}
### 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
});
```
{{/markdown }}