Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
84 lines (64 loc) · 2.61 KB

README.md

File metadata and controls

executable file
·
84 lines (64 loc) · 2.61 KB

⛔️ DEPRECATED This repo has not been maintained

NPM version NPM downloads License Demo Build Status

∞ Vue Infinite Slide Bar

🎚 Infinite slide bar component (no dependencies and light weight 1.48 KB)

👀 Document & Demo Page

LIVE DEMO

💻 Install

npm install --save vue-infinite-slide-bar

or

yarn add vue-infinite-slide-bar

🕹 Usage

import Vue from 'vue'
import InfiniteSlideBar from 'vue-infinite-slide-bar'

Vue.component('InfiniteSlideBar', InfiniteSlideBar)

or

import InfiniteSlideBar from 'vue-infinite-slide-bar'

export default {
  components: {
    InfiniteSlideBar
  }
}

🔎 Example

<infinite-slide-bar :barStyle="{ background: '#42b883', padding: '5px 0' }">
  <span style="color: #fff;">Helo World, I love Vue Infinite Slide Bar</span>
</infinite-slide-bar>

⚙️ Props

Props Type Default Description
barStyle Object - Customize style of slide bar
duration String 12s Speed of animation
direction String normal Direction of animation (normal, reverse)
delay String 0s Delay time before animation start
paused Boolean false Specifies whether the animation is paused or running

🤝 Contributing

  1. Fork this repository.
  2. Create new branch with feature name.
  3. Run npm install and npm run dev.
  4. Create your feature.
  5. Commit and set commit message with feature name.
  6. Push your code to your fork repository.
  7. Create pull request. 🙂

⭐️ Support

If you like this project, You can support me with starring ⭐ this repository.

📄 License

MIT

Developed with ❤️ and ☕️