Giter VIP home page Giter VIP logo

vue-clear-swiper's Introduction

vue-clear-swiper

a niubilisity plugin !

Build Setup

Oh My God!
This is an excellent component!
The vue family is another tyrant component, the 2018-3-14 net starter, may be the lightest vue carousel component of the whole network.

If you think OK, you can order a little star,think you!

Business cooperation please consult:
  WX: Lee19951208
  QQ: 1156553634

npm install --save vue-clear-swiper

<template>
  <div id="app">
    <vue-clear-swiper :clearOption="clearOption" @onChangeIndex="onChangeIndex">
      <div>swiper-1</div>
      <div>swiper-2</div>
      <div>swiper-3</div>
    </vue-clear-swiper>
  </div>
</template>

<script>
import vueClearSwiper from 'vue-clear-swiper'
export default {
  name: 'App',
  data () {
    return {
      clearOption: {
        direction: 'horizontal', // 'horizontal' or 'vertical', default: 'horizontal'
        pagination: true, // 'true' or 'false', default: 'false'
        loop: false, // 'true' or 'false', default: 'false'
        auto: false, // 'true' or 'false', default: 'false'
        autoTime: 2000 // 'true' or 'false', default: 2000
      }
    }
  },
  components: { vueClearSwiper },
  methods: {
    onChangeIndex (index) {
      // get index
    }
  },
}
</script>

vue-clear-swiper's People

Contributors

async-lee avatar

Stargazers

 avatar Carlos De Smedt avatar

Watchers

James Cloos avatar Carlos De Smedt avatar

Forkers

lodestarxl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.