Slight Vue.js Slider Component for H5

Slight Vue.js Slider Component for H5

Slight vue slider component for H5. Slight, only has better-scroll dependency. Support long content page. A great diversity of paging animations. Without fake element at loop mode. Optimized displayed SwiperItem count.

Vue H5 Swiper

Slight vue slider component for H5 applications.

Features

  • Slight, only has better-scroll dependency.
  • Support long content page.
  • A great diversity of paging animations.
  • Without fake element at loop mode.
  • Optimized displayed SwiperItem count.

Demos

Online demo: https://edgarallanzp.github.io/vue-h5-swiper/

Or

source-shell
yarn dev

Installation

source-shell
npm install vue-h5-swiper --save

# or use yarn
yarn add vue-h5-swiper
text-html-vue
<template>
  <swiper>
    <swiper-item>
      ...
      Content Slot
      ...
    </swiper-item>
  </swiper>
</template>

<script>
import { Swiper, SwiperItem } from 'vue-h5-swiper';

export default {
  components: {
    Swiper,
    SwiperItem
  }
};
</script>

Documentation

Swiper

Props

Prop Default Description
loop false Enable loop mode.
show-indicator true Display indicators.
page-transition 'move' Paging animation. Available animations: ['move', 'fade', 'cover', 'carousel', 'scale', 'glue', 'cube', 'push', 'three']
autoplay false Auto slide.
interval 3000 Auto slide interval.

Events

Event Params Description
beforeChange activeIndex, oldIndex Before paging hook.
afterChange activeIndex, oldIndex After paging hook.

Methods

Method Description
moveTo(index) Move to the specified page.
next() Move to next page.
prev() Move to previous page.

Slots

Slot Description
default For SwiperItem.
indicator Custom swiper indicator.

[SwiperItem

Slots

Slot Description
default For display content.

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Github

EdgarAllanzp/vue-h5-swiper

vuejs vue javascript vue-js

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

8 Popular Websites That Use The Vue.JS Framework

In this article, we are going to list out the most popular websites using Vue JS as their frontend framework. Vue JS is one of those elite progressive JavaScript frameworks that has huge demand in the web development industry. Many popular websites are developed using Vue in their frontend development because of its imperative features.

Vue ShortKey plugin for Vue.js

Vue-ShortKey - The ultimate shortcut plugin to improve the UX .Vue-ShortKey - plugin for VueJS 2.x accepts shortcuts globaly and in a single listener.

A Vue.js wrapper component for Grid.js

A Vue wrapper component for Grid.js. Grid.js is a Free and open-source HTML table plugin written in TypeScript. It works with most JavaScript frameworks.

Vue.js image clipping Components using Vue-Rx

vuejs-clipper .Vue.js image clipping components using Vue-Rx. Add image clipping components to your Vue application in nothing flat. Touch devices supported and fully responsive.

Vue.js JWT Authentication with Vuex and Vue Router

Build a Vue.js JWT Authentication application using Vuex, Vue Router, VeeValidate - JWT authentication with Vue, Vuex, Vue Router that supports VeeValidate