angular-owl-carousel icon indicating copy to clipboard operation
angular-owl-carousel copied to clipboard

Owl carousel options

Open TomasNiDo opened this issue 9 years ago • 2 comments

How do we use the owl carousel options?

TomasNiDo avatar Jul 06 '16 23:07 TomasNiDo

They are passing via element attributes. Like this:

<div owl-carousel="items" class="owl-carousel" items="3" nav="false" dots="true">
   <div class="item">{{item}}</div>
</div>

KeshaFinkel avatar Aug 30 '16 08:08 KeshaFinkel

I still don't understand why? Wouldn't it be simpler to pass an object to 1 argument e.g owl-options and set all the logic there? Now there needs to be a argument for every option you want to add...

rickerd avatar Sep 07 '16 11:09 rickerd