All Projects → 93gaurav93 → v-owl-carousel

93gaurav93 / v-owl-carousel

Licence: MIT license
🦉 VueJS wrapper for Owl Carousel

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to v-owl-carousel

Embla Carousel
A lightweight carousel library with fluid motion and great swipe precision.
Stars: ✭ 1,874 (+3973.91%)
Mutual labels:  carousel, carousel-component, carousel-plugin
vue-splide
The Splide component for Vue.
Stars: ✭ 257 (+458.7%)
Mutual labels:  carousel, carousel-component, vue-component
Vue Agile
🎠 A carousel component for Vue.js
Stars: ✭ 1,167 (+2436.96%)
Mutual labels:  carousel, vue-component
React Awesome Slider
React content transition slider. Awesome Slider is a 60fps, light weight, performant component that renders an animated set of production ready UI general purpose sliders with fullpage transition support for NextJS and GatsbyJS. 🖥️ 📱
Stars: ✭ 2,343 (+4993.48%)
Mutual labels:  carousel, carousel-component
Vue Glide
A slider and carousel as vue component on top of the Glide.js
Stars: ✭ 225 (+389.13%)
Mutual labels:  carousel, vue-components
Vue Flickity
A Vue Slider / Carousel Component for Flickity.js
Stars: ✭ 339 (+636.96%)
Mutual labels:  carousel, vue-components
Vue Gallery
📷 Responsive and customizable image and video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers.
Stars: ✭ 405 (+780.43%)
Mutual labels:  carousel, vue-component
Vue Carousel
Carousel component for Vue.js.
Stars: ✭ 144 (+213.04%)
Mutual labels:  carousel, vue-component
vue-virtualised
Blazing fast scrolling and updating for any amount of list and hierarchical data.
Stars: ✭ 18 (-60.87%)
Mutual labels:  vue-components, vue-component
flexbox-carousel
CSS3 Animated Carousel with Flexbox
Stars: ✭ 23 (-50%)
Mutual labels:  carousel, carousel-component
unique-ui
一个用于Vue2.x的移动端组件库
Stars: ✭ 43 (-6.52%)
Mutual labels:  vue-components, vue-component
Flutter swiper
The best swiper for flutter , with multiple layouts, infinite loop. Compatible with Android & iOS.
Stars: ✭ 3,209 (+6876.09%)
Mutual labels:  carousel, carousel-plugin
ngx-carousel
Angular Universal carousel is an lightweight , touchable and responsive library
Stars: ✭ 14 (-69.57%)
Mutual labels:  carousel, carousel-component
Vue Slick Carousel
🚥Vue Slick Carousel with True SSR Written for ⚡Faster Luxstay
Stars: ✭ 447 (+871.74%)
Mutual labels:  carousel, vue-component
react-flickity-component
A React.js component for using @desandro's Flickity
Stars: ✭ 258 (+460.87%)
Mutual labels:  carousel, carousel-component
pinar
🌲☀️ Customizable, lightweight React Native carousel component with accessibility support.
Stars: ✭ 214 (+365.22%)
Mutual labels:  carousel, carousel-component
Vue Diagrams
Diagram component for vue.js, inspired by react-diagrams
Stars: ✭ 218 (+373.91%)
Mutual labels:  vue-components, vue-component
Vue Form Json Schema
Create forms using JSON schema. Bring your components!
Stars: ✭ 253 (+450%)
Mutual labels:  vue-components, vue-component
jquery.circular-carousel
[ABANDONED] A 3D-like circular carousel plugin for jQuery.
Stars: ✭ 49 (+6.52%)
Mutual labels:  carousel, carousel-component
shadow
Shadow dom support for Vue
Stars: ✭ 46 (+0%)
Mutual labels:  vue-components, vue-component

npm


Intro

Installation

npm i v-owl-carousel or yarn add v-owl-carousel

Usage

import carousel from 'v-owl-carousel'


<carousel>

  <img src="https://placeimg.com/200/200/any?1">

  <img src="https://placeimg.com/200/200/any?2">

  <img src="https://placeimg.com/200/200/any?3">

  <img src="https://placeimg.com/200/200/any?4">

</carousel>

Set options,


<carousel :autoplay="true" :nav="false">

//

//

</carousel>

Set events,


<carousel @change="doSomething">

//

//

</carousel>

Usage in Nuxt.js

npm i v-owl-carousel

Then in your plugins/ directory, create a new file owl.js:

import Vue from 'vue'
import OwlCarousel from 'v-owl-carousel'

Vue.component('carousel', OwlCarousel)

Then in nuxt.config.js:

plugins: [
  {src: 'plugins/owl.js', ssr: false} // Only works on client side
], ...

And finally in the page or component:

<no-ssr> <!-- important to add no-ssr-->

  <carousel :options>

    ...content

  </carousel>

</no-ssr>

Available options

Currently following options are available.

(More to come)
  • items

type : number

default : 3

The number of items you want to see on the screen.

  • margin

type : number

default : 0

Margin-right (px) on item.

  • loop

type : boolean

default : false

Infinity loop. Duplicate last and first items to get loop illusion.

  • center

Type: Boolean

Default: false

Center item. Works well with even an odd number of items.

  • nav

Type: Boolean

Default: false

Show next/prev buttons.

  • autoplay

Type: Boolean

Default: false

Autoplay.

  • autoplaySpeed

Type: Number/Boolean

Default: false

Autoplay speed.

  • rewind

Type: Boolean

Default: true

Go backwards when the boundary has reached.

  • mouseDrag

Type: Boolean

Default: true

Mouse drag enabled.

  • touchDrag

Type: Boolean

Default: true

Touch drag enabled.

  • pullDrag

Type: Boolean

Default: true

Stage pull to edge.

  • freeDrag

Type: Boolean

Default: false

Item pull to edge.

  • stagePadding

Type: Number

Default: 0

Padding left and right on stage (can see neighbours).

  • autoWidth

Type: Boolean

Default: false

Set non grid content. Try using width style on divs.

  • autoHeight

Type: Boolean

Default: false

Set non grid content. Try using height style on divs.

  • dots

Type: Boolean

Default: true

Show dots navigation.

  • autoplayTimeout

Type: Number

Default: 5000

Autoplay interval timeout.

  • autoplayHoverPause

Type: Boolean

Default: false

Pause on mouse hover.

  • responsive

Type: Object

Default: {}

Example : :responsive="{0:{items:1,nav:false},600:{items:3,nav:true}}"

Object containing responsive options. Can be set to false to remove responsive capabilities.

Events

  • change

    Emitter: carousel

    Description: Emits when carousel has changed (changed.owl.carousel)

💥 NPM

NPM

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].