Skip to content

Commit 1a60766

Browse files
committed
feat: expost public getOffset method
1 parent 276db0d commit 1a60766

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue3-virtual-scroll-list",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "A vue3 component support big amount data list with high scroll performance.",
55
"main": "dist/index.js",
66
"scripts": {

src/virtual-list.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ export default defineComponent({
331331
scrollToBottom,
332332
getSizes,
333333
getSize,
334+
getOffset,
334335
getScrollSize,
335336
getClientSize,
336337
scrollToOffset,

0 commit comments

Comments
 (0)