All Projects → shiye515 → vue-m-carousel

shiye515 / vue-m-carousel

Licence: MIT license
vue 移动端轮播组件

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to vue-m-carousel

Why-Not-Image-Carousel
Why Not use Image Carousel if you have lots of images to show!
Stars: ✭ 310 (+484.91%)
Mutual labels:  carousel
react-native-carousel-pager
React Native carousel pager.
Stars: ✭ 90 (+69.81%)
Mutual labels:  carousel
carousel-viewpager
Beautiful carousel layout implemented using ViewPager
Stars: ✭ 17 (-67.92%)
Mutual labels:  carousel
flexbox-carousel
CSS3 Animated Carousel with Flexbox
Stars: ✭ 23 (-56.6%)
Mutual labels:  carousel
infinite-carousel-flutter
Carousel in flutter. Supports infinite looping and gives control over anchor and velocity.
Stars: ✭ 24 (-54.72%)
Mutual labels:  carousel
jquery.circular-carousel
[ABANDONED] A 3D-like circular carousel plugin for jQuery.
Stars: ✭ 49 (-7.55%)
Mutual labels:  carousel
hugo-piercer-theme
Piercer is a very customizable, fast and simple Hugo theme designed under the mobile-first philosophy.
Stars: ✭ 27 (-49.06%)
Mutual labels:  mobile-first
v-owl-carousel
🦉 VueJS wrapper for Owl Carousel
Stars: ✭ 46 (-13.21%)
Mutual labels:  carousel
angular-simple-slider
An AngularJS directive providing a simple slider functionality
Stars: ✭ 15 (-71.7%)
Mutual labels:  carousel
harika
Offline-, mobile-first graph note-taking app focused on performance with the knowledgebase of any scale
Stars: ✭ 111 (+109.43%)
Mutual labels:  mobile-first
react-magic-slider-dots
React Magic Dots Component for React Slick Carousel (inspired by Instagram)
Stars: ✭ 21 (-60.38%)
Mutual labels:  carousel
vue3-carousel
Vue 3 carousel component
Stars: ✭ 379 (+615.09%)
Mutual labels:  carousel
IndicatorView
IndicatorView Library For Android
Stars: ✭ 41 (-22.64%)
Mutual labels:  carousel
CarouselOverlappingCards-Flutter
Overlapping cards vertical scrolling with carousel effect
Stars: ✭ 14 (-73.58%)
Mutual labels:  carousel
vue-barousel
Carousel component mimics NetEase Cloud Music
Stars: ✭ 13 (-75.47%)
Mutual labels:  carousel
GNCarousel
Carousel based on web design
Stars: ✭ 19 (-64.15%)
Mutual labels:  carousel
DrinksGalleryApp
Xamarin.Forms goodlooking UI sample using the new CarouselView (Parallax).
Stars: ✭ 51 (-3.77%)
Mutual labels:  carousel
castlecss-boilerplate
A simple and mobile-friendly HTML5 template with CastleCSS to kickstart your website
Stars: ✭ 29 (-45.28%)
Mutual labels:  mobile-first
SimpleSlider
Simple responsive slider created in pure javascript.
Stars: ✭ 21 (-60.38%)
Mutual labels:  carousel
native-gallery
native image gallery in ~100 lines of code
Stars: ✭ 19 (-64.15%)
Mutual labels:  carousel

vue-m-carousel

vue 移动端轮播组件 live demo

1.0 branch

NPM version npm download

##简介(Intro)

  • 移动端高性能轮播组件,体积只有 8.82 kB
  • 除了vue之外不依赖其他库
  • 动画通过 transform 和 translate 实现,布局通过flex实现
  • 支持响应式布局,也支持固定布局
  • 提供动画结束的回调

install

vue-m-carousel

npm install vue-m-carousel

用法

    <carousel :indicators="true" :auto="3000">
        <div v-for="i in 3">carousel-item-{{i-1}}</div>
    </carousel>
import Carousel from 'vue-m-carousel'
export default {
    components: {
        Carousel
    }
}

API(跟1.0版本一致)

props

name type default description
loop Boolean true 是否循环播放
auto Number 3000 是否自动播放,0不自动播放,其他值则自动播放,值为其自动播放的interval
indicators Boolean false 是否添加屏点,不带任何样式,样式可参考demo写
responsive Number 40 是否开启响应式高度,若为0则不开启,其他正整数表示 高度是宽度的百分之多少
flickThreshold Number 0.6 轻弹的最小速度
delta Number 100 滚动时触发滚动到下一张的最小值
onSlidEnd Function noop 轮播切换完成时的回调
preventDefault Boolean false 取消touchmove事件的默认动作
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].