1.1.1 ⢠Published 7 years ago
vue-infinite-slide-bar v1.1.1
ā Vue Infinite Slide Bar
š Infinite slide bar component (no dependencies and light weight 1.48 KB)
š Document & Demo Page
š» Install
npm install --save vue-infinite-slide-baror
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 |
š¤ Contributing
- Fork this repository.
- Create new branch with feature name.
- Run
npm installandnpm run dev. - Create your feature.
- Commit and set commit message with feature name.
- Push your code to your fork repository.
- Create pull request. š
āļø Support
If you like this project, You can support me with starring ā this repository.š License
Developed with ā¤ļø and āļø