Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 Beta issue with singleItem #740

Closed
BruceMcKinnon opened this issue Mar 12, 2015 · 1 comment
Closed

v2 Beta issue with singleItem #740

BruceMcKinnon opened this issue Mar 12, 2015 · 1 comment

Comments

@BruceMcKinnon
Copy link

Hi,

I've just been trying out Owl v2 beta and have found the singleItem: true setting stops the carousel from working. I was using:

$("#make-up-courses").owlCarousel({
navigation : true, // Show next and prev buttons
slideSpeed : 300,
paginationSpeed : 400,
autoPlay: true,
singleItem:true
});

As soon as a switched to v1, without making any config changes, the carousel worked perfectly.

@robsn
Copy link

robsn commented Mar 18, 2015

It seems that the property "singleItem" is no longer supported with v2.

You should use the property "items" with value 1 for a single slide, or value n for n slides within your slider width.

$("#owl-demo").owlCarousel({
    slideSpeed : 300,
    paginationSpeed : 400,
    items: 1,
    dots: false,
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@robsn @KennethAshley @BruceMcKinnon and others