ismail9k / vue3-carousel

Vue 3 carousel component
https://ismail9k.github.io/vue3-carousel/
MIT License
660 stars 164 forks source link

Remove settings prop in favor of v-bind #298

Closed ismail9k closed 1 year ago

ismail9k commented 1 year ago

Motivation

Currently, to pass multiple props to the Carousel component we are using the settings prop:

<Carousel :settings="carouselSettings">
    ...
</Carousel>

It's better to use the native v-bind API to achieve the same thing

<Carousel v-bind="carouselSettings">
    ...
</Carousel>