Skip to content

Commit 606fd42

Browse files
committed
update: dev
1 parent ce9ff88 commit 606fd42

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ keyword: intersectionObserver scroll-list Scroll animation,quick scroll resolv
3333

3434
## live demo1
3535

36-
[codeSandBox](https://codesandbox.io/s/goofy-easley-wywn69)
36+
[codeSandBox](https://codesandbox.io/s/festive-easley-wr4cd2)
3737

3838
> newest demo checked by git clone and yarn && yarn dev
3939
@@ -99,7 +99,7 @@ yarn add vue-virtual-list-observer
9999

100100
## quickStart
101101

102-
[codeSandBox](https://codesandbox.io/s/goofy-easley-wywn69)
102+
[codeSandBox](https://codesandbox.io/s/festive-easley-wr4cd2)
103103

104104

105105
## Attention

src/App.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const request = () => {
3535
provide('request', request)
3636
const list = ref(null)
3737
const mylist = ref(null)
38-
const reset = () => {
38+
const scrollToTop = () => {
3939
console.log(mylist.value, 'mylist')
4040
// list.value.getScroll()
4141
// list.value.scrollTop = 0
@@ -59,7 +59,7 @@ const scrollInstance = () => {
5959

6060
<template>
6161
<div>
62-
<button @click="reset">reset</button>
62+
<button @click="scrollToTop">scrollToTop</button>
6363
<!-- <button @click="scrollToIndex">scrollToIndex</button> -->
6464
<!-- <button @click="scrollInstance">{{ scrollInstance }}</button> -->
6565
</div>

0 commit comments

Comments
 (0)