virtua 0.50.3 → 0.50.4
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/lib/angular/WindowVirtualizer.d.ts +5 -1
- package/lib/angular/index.js +373 -345
- package/lib/angular/index.js.map +1 -1
- package/lib/core/index.cjs +269 -265
- package/lib/core/index.cjs.map +1 -1
- package/lib/core/index.d.ts +2 -0
- package/lib/core/index.js +269 -265
- package/lib/core/index.js.map +1 -1
- package/lib/core/layouts/list.d.ts +1 -0
- package/lib/core/layouts/types.d.ts +1 -0
- package/lib/index.cjs +505 -501
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +410 -406
- package/lib/index.js.map +1 -1
- package/lib/solid/VList.d.ts +1 -1
- package/lib/solid/Virtualizer.d.ts +4 -0
- package/lib/solid/WindowVirtualizer.d.ts +4 -0
- package/lib/solid/index.cjs +315 -301
- package/lib/solid/index.cjs.map +1 -1
- package/lib/solid/index.js +329 -316
- package/lib/solid/index.js.map +1 -1
- package/lib/solid/index.jsx +156 -148
- package/lib/solid/index.jsx.map +1 -1
- package/lib/svelte/Virtualizer.svelte +4 -8
- package/lib/svelte/WindowVirtualizer.svelte +10 -8
- package/lib/svelte/WindowVirtualizer.type.d.ts +4 -0
- package/lib/svelte/utils.js.map +1 -1
- package/lib/vue/WindowVirtualizer.d.ts +4 -0
- package/lib/vue/index.cjs +306 -298
- package/lib/vue/index.cjs.map +1 -1
- package/lib/vue/index.js +300 -292
- package/lib/vue/index.js.map +1 -1
- package/package.json +30 -29
|
@@ -67,6 +67,10 @@ export declare class WindowVirtualizer<T> implements OnInit, WindowVirtualizerHa
|
|
|
67
67
|
* - If set, you can opt out estimation and use the value as initial item size.
|
|
68
68
|
*/
|
|
69
69
|
readonly itemSize: import("@angular/core").InputSignal<number | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* A prop for SSR. If set, the specified amount of items will be mounted in the initial rendering regardless of the container size until hydrated. The minimum value is 0.
|
|
72
|
+
*/
|
|
73
|
+
readonly ssrCount: import("@angular/core").InputSignal<number | undefined>;
|
|
70
74
|
/**
|
|
71
75
|
* While true is set, scroll position will be maintained from the end not usual start when items are added to/removed from start. It's recommended to set false if you add to/remove from mid/end of the list because it can cause unexpected behavior. This prop is useful for reverse infinite scrolling.
|
|
72
76
|
*/
|
|
@@ -99,5 +103,5 @@ export declare class WindowVirtualizer<T> implements OnInit, WindowVirtualizerHa
|
|
|
99
103
|
getItemSize(index: number): number;
|
|
100
104
|
scrollToIndex(index: number, opts?: ScrollToIndexOpts): void;
|
|
101
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<WindowVirtualizer<any>, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowVirtualizer<any>, "virtua-window-virtualizer, [virtuaWindowVirtualizer]", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "getKey": { "alias": "getKey"; "required": false; "isSignal": true; }; "bufferSize": { "alias": "bufferSize"; "required": false; "isSignal": true; }; "itemSize": { "alias": "itemSize"; "required": false; "isSignal": true; }; "shift": { "alias": "shift"; "required": false; "isSignal": true; }; "horizontal": { "alias": "horizontal"; "required": false; "isSignal": true; }; "cacheProp": { "alias": "cache"; "required": false; "isSignal": true; }; }, { "scroll": "scroll"; "scrollEnd": "scrollEnd"; }, ["template"], never, true, never>;
|
|
106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowVirtualizer<any>, "virtua-window-virtualizer, [virtuaWindowVirtualizer]", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "getKey": { "alias": "getKey"; "required": false; "isSignal": true; }; "bufferSize": { "alias": "bufferSize"; "required": false; "isSignal": true; }; "itemSize": { "alias": "itemSize"; "required": false; "isSignal": true; }; "ssrCount": { "alias": "ssrCount"; "required": false; "isSignal": true; }; "shift": { "alias": "shift"; "required": false; "isSignal": true; }; "horizontal": { "alias": "horizontal"; "required": false; "isSignal": true; }; "cacheProp": { "alias": "cache"; "required": false; "isSignal": true; }; }, { "scroll": "scroll"; "scrollEnd": "scrollEnd"; }, ["template"], never, true, never>;
|
|
103
107
|
}
|