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

Reference to SliderOptions in Component doesn't work in Angular 6 #53

Open
SharanPuthran opened this issue Jul 26, 2018 · 0 comments
Open

Comments

@SharanPuthran
Copy link

I've implemented owl carousel in angular 6, carousel seems to be working fine.
I wanted to change the sliderOptions, so I had given sliderOptions property in my component for it to work on responsiveness and number of items to be shown in a view.

Could anyone help me with this?

Thanks.

<owl-carousel [options]="sliderOptions" [items]="content" [carouselClasses]="['owl-theme', 'row', 'sliding']">

sliderOptions: {
margin: 25,
dots: false,
navigation: true,
nav: true,
autoplay: true,
loop: true,
autoplayTimeout: 2000,
autoplayHoverPause: true,
lazyLoad: true,
responsive: {
0: { items: 1 },
600: { items: 1 },
960: { items: 1 },
1200: { items: 1 }
}

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

1 participant