package.docs_src.templates.pages.demos.autowidth.hbs 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!
---
title: Auto Width Demo
subTitle: Auto Width
nav: demos
description: Auto Width
sort: 6
tags:
- demo
- core
---
1
2
3
4
6
7
8
9
10
11
12
13
14
15
{{#markdown }}
### Overview
Use width style on elements to get the result you want. If using with infinity loop add option 'items' more than 1. It all depends on the width of your content.
### Setup
```
$('.owl-carousel').owlCarousel({
margin:10,
loop:true,
autoWidth:true,
items:4
})
```
### html
```
1
2
3
4
6
7
8
9
10
11
12
13
14
15
```
{{/markdown }}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy