virtua 0.50.6 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/lib/angular/Virtualizer.d.ts +2 -2
- package/lib/angular/WindowVirtualizer.d.ts +2 -2
- package/lib/angular/index.js +152 -156
- package/lib/angular/index.js.map +1 -1
- package/lib/core/index.cjs +234 -232
- package/lib/core/index.cjs.map +1 -1
- package/lib/core/index.js +242 -240
- package/lib/core/index.js.map +1 -1
- package/lib/index.cjs +442 -440
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +435 -433
- package/lib/index.js.map +1 -1
- package/lib/react/VGrid.d.ts +3 -3
- package/lib/react/Virtualizer.d.ts +2 -2
- package/lib/react/WindowVirtualizer.d.ts +2 -2
- package/lib/solid/Virtualizer.d.ts +2 -2
- package/lib/solid/WindowVirtualizer.d.ts +2 -2
- package/lib/solid/index.cjs +228 -234
- package/lib/solid/index.cjs.map +1 -1
- package/lib/solid/index.js +239 -243
- package/lib/solid/index.js.map +1 -1
- package/lib/solid/index.jsx +97 -88
- package/lib/solid/index.jsx.map +1 -1
- package/lib/svelte/ListItem.svelte +1 -1
- package/lib/svelte/Virtualizer.svelte +1 -2
- package/lib/svelte/Virtualizer.type.d.ts +2 -2
- package/lib/svelte/WindowVirtualizer.svelte +1 -2
- package/lib/svelte/WindowVirtualizer.type.d.ts +2 -2
- package/lib/vue/Virtualizer.d.ts +2 -2
- package/lib/vue/WindowVirtualizer.d.ts +2 -2
- package/lib/vue/index.cjs +276 -285
- package/lib/vue/index.cjs.map +1 -1
- package/lib/vue/index.js +257 -266
- package/lib/vue/index.js.map +1 -1
- package/package.json +2 -3
package/lib/vue/Virtualizer.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ export interface VirtualizerHandle {
|
|
|
95
95
|
*/
|
|
96
96
|
readonly cache: CacheSnapshot;
|
|
97
97
|
/**
|
|
98
|
-
* Get current scrollTop, or scrollLeft if horizontal: true.
|
|
98
|
+
* Get current scrollTop, or scrollLeft if horizontal: true. Always positive even in RTL.
|
|
99
99
|
*/
|
|
100
100
|
readonly scrollOffset: number;
|
|
101
101
|
/**
|
|
@@ -103,7 +103,7 @@ export interface VirtualizerHandle {
|
|
|
103
103
|
*/
|
|
104
104
|
readonly scrollSize: number;
|
|
105
105
|
/**
|
|
106
|
-
* Get current
|
|
106
|
+
* Get current clientHeight, or clientWidth if horizontal: true.
|
|
107
107
|
*/
|
|
108
108
|
readonly viewportSize: number;
|
|
109
109
|
/**
|
|
@@ -75,11 +75,11 @@ export interface WindowVirtualizerHandle {
|
|
|
75
75
|
*/
|
|
76
76
|
readonly cache: CacheSnapshot;
|
|
77
77
|
/**
|
|
78
|
-
* Get current scrollTop, or scrollLeft if horizontal: true.
|
|
78
|
+
* Get current scrollTop, or scrollLeft if horizontal: true. Always positive even in RTL.
|
|
79
79
|
*/
|
|
80
80
|
readonly scrollOffset: number;
|
|
81
81
|
/**
|
|
82
|
-
* Get current
|
|
82
|
+
* Get current clientHeight of the document, or clientWidth if horizontal: true.
|
|
83
83
|
*/
|
|
84
84
|
readonly viewportSize: number;
|
|
85
85
|
/**
|