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

Commit

Permalink
docs: Move demo to codesandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
wangpin34 committed May 27, 2019
1 parent 5437b42 commit b2b40d3
Show file tree
Hide file tree
Showing 32 changed files with 1 addition and 1,148 deletions.
17 changes: 1 addition & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
# vue-scroll

***Recommend to use the scroll implemenation of vuejs event handler***
```
<!-- the scroll event's default behavior (scrolling) will happen -->
<!-- immediately, instead of waiting for `onScroll` to complete -->
<!-- in case it contains `event.preventDefault()` -->
<div v-on:scroll.passive="onScroll">...</div>
```

<hr/>

scroll directive for [vuejs 2.0](https://vuejs.org/v2/guide/)

For vue 1.x, please use [email protected]. Currently its code is in master branch.
Expand Down Expand Up @@ -79,13 +69,8 @@ Override global configurations like
<ul v-scroll:debounce="{fn: onScroll, debounce: 500 }">
```


## Demo
* [Component Demo](https://github.com/wangpin34/vue-scroll/tree/2.0-compatible/samples/vue-cli-webpack)

Below two demos are uncommonly used and outdated.
* Sample - commonjs [Introduction](https://github.com/wangpin34/vue-scroll/tree/2.0-compatible/samples/commonjs)
* [Sample - standlone](https://github.com/wangpin34/vue-scroll/tree/2.0-compatible/samples/standlone) *** [Try it now](http://rawgit.com/wangpin34/vue-scroll/2.0-compatible/samples/standlone/index.html)
You please try the demo hosted on codesandbox: https://codesandbox.io/s/vuescroll-demo-orders-view-f4d3d?fontsize=14


## LICENSE
Expand Down
22 changes: 0 additions & 22 deletions samples/commonjs/README.md

This file was deleted.

85 changes: 0 additions & 85 deletions samples/commonjs/index.html

This file was deleted.

26 changes: 0 additions & 26 deletions samples/commonjs/index.js

This file was deleted.

4 changes: 0 additions & 4 deletions samples/standlone/README.md

This file was deleted.

116 changes: 0 additions & 116 deletions samples/standlone/index.html

This file was deleted.

27 changes: 0 additions & 27 deletions samples/standlone/index.js

This file was deleted.

13 changes: 0 additions & 13 deletions samples/vue-cli-webpack/.babelrc

This file was deleted.

9 changes: 0 additions & 9 deletions samples/vue-cli-webpack/.editorconfig

This file was deleted.

4 changes: 0 additions & 4 deletions samples/vue-cli-webpack/.gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions samples/vue-cli-webpack/README.md

This file was deleted.

Loading

0 comments on commit b2b40d3

Please sign in to comment.