This repository has been archived by the owner on Mar 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wangpin34
committed
May 27, 2019
1 parent
5437b42
commit b2b40d3
Showing
32 changed files
with
1 addition
and
1,148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
@@ -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 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.