vue-loop
v0.2.6
Published
![cover](https://cloud.githubusercontent.com/assets/3231370/25569788/1a75e24a-2deb-11e7-8e16-88283272309b.png)
Downloads
55
Readme
Vue Loop
We've had a lot of people compliment us on the infinite content loop we did over at Look Studios. We decided to build a simple .vue file for all you vue fans to use.
Live Demo Horizontal Demo Contained Demo
Showcase
Sites using Vue Loop 💙
Installation
npm install vue-loop --save
Usage
import VueLoop from 'vue-loop'
new Vue({
el: '#app',
components: {
VueLoop
}
})
<vue-loop :full="true" :horizontal="false">
<div class="item">
1
</div>
<div class="item">
2
</div>
<div class="item">
3
</div>
<div class="item">
4
</div>
</vue-loop>
Optional Props
| Prop | Type | Default | | ------------- |:-------------:|:-------------:| | full | Boolean | true | | horizontal | Boolean | false |
Features
- Full page content looping
- Contained content loop
- Horizontal & Vertical options
Support
License
MIT