https://github.com/xiaoluoboding/vue-stroll
📜 Vue.js + Stroll.js. Awesome CSS list scroll effects for Vue2.x.
https://github.com/xiaoluoboding/vue-stroll
awesome css list scroll-effects vue
Last synced: 3 months ago
JSON representation
📜 Vue.js + Stroll.js. Awesome CSS list scroll effects for Vue2.x.
- Host: GitHub
- URL: https://github.com/xiaoluoboding/vue-stroll
- Owner: xiaoluoboding
- License: mit
- Created: 2016-06-17T14:05:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-29T05:25:21.000Z (almost 8 years ago)
- Last Synced: 2024-05-02T05:52:24.129Z (about 1 year ago)
- Topics: awesome, css, list, scroll-effects, vue
- Language: Vue
- Homepage: https://xiaoluoboding.github.io/vue-stroll/
- Size: 561 KB
- Stars: 156
- Watchers: 5
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-stroll
[](https://travis-ci.org/xiaoluoboding/vue-stroll)
[](https://www.npmjs.com/package/vue-stroll)

[](https://raw.githubusercontent.com/xiaoluoboding/vue-stroll/master/LICENSE)
[](https://github.com/xiaoluoboding/vue-stroll/stargazers)Vue.js + Stroll.js. Awesome CSS list scroll effects for Vue2.x. See [Demo](https://xiaoluoboding.github.io/vue-stroll)
[](https://nodei.co/npm/vue-stroll/)
# Installation
```bash
npm i vue-stroll -S
```# CDN
### Use this URL for development
https://rawgit.com/xiaoluoboding/vue-stroll/master/dist/vue-stroll.min.js### Use this URL in production
https://cdn.rawgit.com/xiaoluoboding/vue-stroll/master/dist/vue-stroll.min.js# Import
**ES6**
```javascript
import VueStroll from 'vue-stroll'
```**CommonJS**
```javascript
var VueStroll = require('vue-stroll');
```**script**
```javascript
var VueStroll = window['vue-stroll'];
```
# Usage
**script**
```javascript
new Vue({
el: 'body',
data: {
el: '#app ul',
effect: 'cards',
collection: [
'One', 'Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine', 'Ten'
]
},
components: { VueStroll }
});
```**html**
```html
```
# Props
| Name | Type | Desc | Example |
| :-------- | :--------:|:--------:|:--------:|
| el | String | The element you will bind | "#app ul" |
| collection | Array | The list you will render | ['One', 'Two', 'Three', 'Four', 'Five'] |
| effect | String | The awesome effects style | `wave` See [Demo](https://xiaoluoboding.github.io/vue-stroll) |# License
MIT