angular-owl-carousel
angular-owl-carousel copied to clipboard
Owl carousel options
How do we use the owl carousel options?
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>
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...