From 51ad8f7a4109da872e6b3761b530aed5163102b1 Mon Sep 17 00:00:00 2001 From: inokawa <48897392+inokawa@users.noreply.github.com> Date: Fri, 15 Mar 2024 01:32:56 +0900 Subject: [PATCH] 0.29.0 --- docs/classes/vue.VList.md | 26 +++++------ docs/classes/vue.Virtualizer.md | 45 +++++++------------ docs/classes/vue.WindowVirtualizer.md | 10 ++--- docs/interfaces/react.CacheSnapshot.md | 2 +- .../react.CustomCellComponentProps.md | 4 +- .../react.CustomContainerComponentProps.md | 4 +- .../react.CustomItemComponentProps.md | 6 +-- docs/interfaces/react.ScrollToIndexOpts.md | 6 +-- docs/interfaces/react.VGridHandle.md | 18 ++++---- docs/interfaces/react.VGridProps.md | 18 ++++---- docs/interfaces/react.VListHandle.md | 16 +++---- docs/interfaces/react.VListProps.md | 26 +++++------ docs/interfaces/react.VirtualizerHandle.md | 16 +++---- docs/interfaces/react.VirtualizerProps.md | 43 +++++++----------- .../react.WindowVirtualizerHandle.md | 2 +- .../react.WindowVirtualizerProps.md | 24 +++++----- docs/interfaces/solid.VListHandle.md | 14 +++--- docs/interfaces/solid.VListProps.md | 22 ++++----- docs/interfaces/solid.VirtualizerHandle.md | 14 +++--- docs/interfaces/solid.VirtualizerProps.md | 20 ++++----- .../solid.WindowVirtualizerProps.md | 16 +++---- docs/modules/react.md | 18 ++++---- docs/modules/solid.md | 6 +-- package-lock.json | 4 +- package.json | 2 +- 25 files changed, 178 insertions(+), 204 deletions(-) diff --git a/docs/classes/vue.VList.md b/docs/classes/vue.VList.md index 09eec631c..ab4d68118 100644 --- a/docs/classes/vue.VList.md +++ b/docs/classes/vue.VList.md @@ -88,7 +88,7 @@ Get item offset from start. #### Defined in -[src/vue/Virtualizer.tsx:47](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L47) +[src/vue/Virtualizer.tsx:47](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L47) ___ @@ -111,7 +111,7 @@ Scroll to the item specified by index. #### Defined in -[src/vue/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L53) +[src/vue/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L53) ___ @@ -133,7 +133,7 @@ Scroll to the given offset. #### Defined in -[src/vue/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L58) +[src/vue/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L58) ___ @@ -155,7 +155,7 @@ Scroll by the given offset. #### Defined in -[src/vue/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L63) +[src/vue/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L63) ## Properties @@ -333,7 +333,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/vue/VList.tsx:34](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/VList.tsx#L34) +[src/vue/VList.tsx:34](https://github.com/inokawa/virtua/blob/42725126/src/vue/VList.tsx#L34) ___ @@ -345,7 +345,7 @@ The data items rendered by this component. #### Defined in -[src/vue/VList.tsx:18](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/VList.tsx#L18) +[src/vue/VList.tsx:18](https://github.com/inokawa/virtua/blob/42725126/src/vue/VList.tsx#L18) ___ @@ -363,7 +363,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/vue/VList.tsx:23](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/VList.tsx#L23) +[src/vue/VList.tsx:23](https://github.com/inokawa/virtua/blob/42725126/src/vue/VList.tsx#L23) ___ @@ -378,7 +378,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/vue/VList.tsx:30](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/VList.tsx#L30) +[src/vue/VList.tsx:30](https://github.com/inokawa/virtua/blob/42725126/src/vue/VList.tsx#L30) ___ @@ -390,7 +390,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/vue/VList.tsx:38](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/VList.tsx#L38) +[src/vue/VList.tsx:38](https://github.com/inokawa/virtua/blob/42725126/src/vue/VList.tsx#L38) ___ @@ -402,7 +402,7 @@ A prop for SSR. If set, the specified amount of items will be mounted in the ini #### Defined in -[src/vue/VList.tsx:42](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/VList.tsx#L42) +[src/vue/VList.tsx:42](https://github.com/inokawa/virtua/blob/42725126/src/vue/VList.tsx#L42) ___ @@ -426,7 +426,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/vue/Virtualizer.tsx:34](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L34) +[src/vue/Virtualizer.tsx:34](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L34) ___ @@ -438,7 +438,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/vue/Virtualizer.tsx:38](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L38) +[src/vue/Virtualizer.tsx:38](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L38) ___ @@ -450,4 +450,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/vue/Virtualizer.tsx:42](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L42) +[src/vue/Virtualizer.tsx:42](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L42) diff --git a/docs/classes/vue.Virtualizer.md b/docs/classes/vue.Virtualizer.md index a13002728..1955ab897 100644 --- a/docs/classes/vue.Virtualizer.md +++ b/docs/classes/vue.Virtualizer.md @@ -34,7 +34,6 @@ - [itemSize](vue.Virtualizer.md#itemsize) - [horizontal](vue.Virtualizer.md#horizontal) - [startMargin](vue.Virtualizer.md#startmargin) -- [endMargin](vue.Virtualizer.md#endmargin) - [ssrCount](vue.Virtualizer.md#ssrcount) - [onScrollEnd](vue.Virtualizer.md#onscrollend) - [onRangeChange](vue.Virtualizer.md#onrangechange) @@ -90,7 +89,7 @@ Get item offset from start. #### Defined in -[src/vue/Virtualizer.tsx:47](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L47) +[src/vue/Virtualizer.tsx:47](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L47) ___ @@ -113,7 +112,7 @@ Scroll to the item specified by index. #### Defined in -[src/vue/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L53) +[src/vue/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L53) ___ @@ -135,7 +134,7 @@ Scroll to the given offset. #### Defined in -[src/vue/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L58) +[src/vue/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L58) ___ @@ -157,7 +156,7 @@ Scroll by the given offset. #### Defined in -[src/vue/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L63) +[src/vue/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L63) ## Properties @@ -183,7 +182,7 @@ ___ ### $props -• **$props**: `Partial`\<\{ `shift`: `boolean` = Boolean; `overscan`: `number` ; `horizontal`: `boolean` = Boolean }\> & `Omit`\<\{ `shift`: `boolean` = Boolean; `data`: `unknown`[] ; `overscan`: `number` ; `horizontal`: `boolean` = Boolean; `itemSize?`: `number` = Number; `startMargin?`: `number` = Number; `endMargin?`: `number` = Number; `ssrCount?`: `number` = Number; `onScroll`: `undefined` \| (...`args`: [offset: number]) => `any` ; `onScrollEnd`: `undefined` \| (...`args`: []) => `any` ; `onRangeChange`: `undefined` \| (...`args`: [startIndex: number, endIndex: number]) => `any` } & `VNodeProps` & `AllowedComponentProps` & `ComponentCustomProps` & `Readonly`\<`ExtractPropTypes`\<\{ `data`: \{ `type`: `ArrayConstructor` = Array; `required`: ``true`` = true } ; `overscan`: \{ `type`: `NumberConstructor` = Number; `default`: `number` = 4 } ; `itemSize`: `NumberConstructor` = Number; `shift`: `BooleanConstructor` = Boolean; `horizontal`: `BooleanConstructor` = Boolean; `startMargin`: `NumberConstructor` = Number; `endMargin`: `NumberConstructor` = Number; `ssrCount`: `NumberConstructor` = Number }\>\> & \{ `onScroll`: `undefined` \| (...`args`: [offset: number]) => `any` ; `onScrollEnd`: `undefined` \| (...`args`: []) => `any` ; `onRangeChange`: `undefined` \| (...`args`: [startIndex: number, endIndex: number]) => `any` }, `DefaultKeys`\<\{ `data`: \{ `type`: `ArrayConstructor` = Array; `required`: ``true`` = true } ; `overscan`: \{ `type`: `NumberConstructor` = Number; `default`: `number` = 4 } ; `itemSize`: `NumberConstructor` = Number; `shift`: `BooleanConstructor` = Boolean; `horizontal`: `BooleanConstructor` = Boolean; `startMargin`: `NumberConstructor` = Number; `endMargin`: `NumberConstructor` = Number; `ssrCount`: `NumberConstructor` = Number }\>\> +• **$props**: `Partial`\<\{ `shift`: `boolean` = Boolean; `overscan`: `number` ; `horizontal`: `boolean` = Boolean }\> & `Omit`\<\{ `shift`: `boolean` = Boolean; `data`: `unknown`[] ; `overscan`: `number` ; `horizontal`: `boolean` = Boolean; `itemSize?`: `number` = Number; `startMargin?`: `number` = Number; `ssrCount?`: `number` = Number; `onScroll`: `undefined` \| (...`args`: [offset: number]) => `any` ; `onScrollEnd`: `undefined` \| (...`args`: []) => `any` ; `onRangeChange`: `undefined` \| (...`args`: [startIndex: number, endIndex: number]) => `any` } & `VNodeProps` & `AllowedComponentProps` & `ComponentCustomProps` & `Readonly`\<`ExtractPropTypes`\<\{ `data`: \{ `type`: `ArrayConstructor` = Array; `required`: ``true`` = true } ; `overscan`: \{ `type`: `NumberConstructor` = Number; `default`: `number` = 4 } ; `itemSize`: `NumberConstructor` = Number; `shift`: `BooleanConstructor` = Boolean; `horizontal`: `BooleanConstructor` = Boolean; `startMargin`: `NumberConstructor` = Number; `ssrCount`: `NumberConstructor` = Number }\>\> & \{ `onScroll`: `undefined` \| (...`args`: [offset: number]) => `any` ; `onScrollEnd`: `undefined` \| (...`args`: []) => `any` ; `onRangeChange`: `undefined` \| (...`args`: [startIndex: number, endIndex: number]) => `any` }, `DefaultKeys`\<\{ `data`: \{ `type`: `ArrayConstructor` = Array; `required`: ``true`` = true } ; `overscan`: \{ `type`: `NumberConstructor` = Number; `default`: `number` = 4 } ; `itemSize`: `NumberConstructor` = Number; `shift`: `BooleanConstructor` = Boolean; `horizontal`: `BooleanConstructor` = Boolean; `startMargin`: `NumberConstructor` = Number; `ssrCount`: `NumberConstructor` = Number }\>\> #### Defined in @@ -263,7 +262,7 @@ ___ ### $options -• **$options**: `ComponentOptionsBase`\<`ResolveProps`\<\{ `data`: \{ `type`: `ArrayConstructor` = Array; `required`: ``true`` = true } ; `overscan`: \{ `type`: `NumberConstructor` = Number; `default`: `number` = 4 } ; `itemSize`: `NumberConstructor` = Number; `shift`: `BooleanConstructor` = Boolean; `horizontal`: `BooleanConstructor` = Boolean; `startMargin`: `NumberConstructor` = Number; `endMargin`: `NumberConstructor` = Number; `ssrCount`: `NumberConstructor` = Number }, \{ `scroll`: (`offset`: `number`) => `void` ; `scrollEnd`: () => `void` ; `rangeChange`: (`startIndex`: `number`, `endIndex`: `number`) => `void` }\>, `VirtualizerHandle`, {}, {}, {}, `ComponentOptionsMixin`, `ComponentOptionsMixin`, \{ `scroll`: (`offset`: `number`) => `void` ; `scrollEnd`: () => `void` ; `rangeChange`: (`startIndex`: `number`, `endIndex`: `number`) => `void` }, `string`, \{ `shift`: `boolean` = Boolean; `overscan`: `number` ; `horizontal`: `boolean` = Boolean }, {}, `string`, `SlotsType`\<\{ `default`: `any` }\>\> & `MergedComponentOptionsOverride` +• **$options**: `ComponentOptionsBase`\<`ResolveProps`\<\{ `data`: \{ `type`: `ArrayConstructor` = Array; `required`: ``true`` = true } ; `overscan`: \{ `type`: `NumberConstructor` = Number; `default`: `number` = 4 } ; `itemSize`: `NumberConstructor` = Number; `shift`: `BooleanConstructor` = Boolean; `horizontal`: `BooleanConstructor` = Boolean; `startMargin`: `NumberConstructor` = Number; `ssrCount`: `NumberConstructor` = Number }, \{ `scroll`: (`offset`: `number`) => `void` ; `scrollEnd`: () => `void` ; `rangeChange`: (`startIndex`: `number`, `endIndex`: `number`) => `void` }\>, `VirtualizerHandle`, {}, {}, {}, `ComponentOptionsMixin`, `ComponentOptionsMixin`, \{ `scroll`: (`offset`: `number`) => `void` ; `scrollEnd`: () => `void` ; `rangeChange`: (`startIndex`: `number`, `endIndex`: `number`) => `void` }, `string`, \{ `shift`: `boolean` = Boolean; `overscan`: `number` ; `horizontal`: `boolean` = Boolean }, {}, `string`, `SlotsType`\<\{ `default`: `any` }\>\> & `MergedComponentOptionsOverride` #### Defined in @@ -335,7 +334,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/vue/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L86) +[src/vue/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L86) ___ @@ -347,7 +346,7 @@ The data items rendered by this component. #### Defined in -[src/vue/Virtualizer.tsx:70](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L70) +[src/vue/Virtualizer.tsx:70](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L70) ___ @@ -365,7 +364,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/vue/Virtualizer.tsx:75](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L75) +[src/vue/Virtualizer.tsx:75](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L75) ___ @@ -380,7 +379,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/vue/Virtualizer.tsx:82](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L82) +[src/vue/Virtualizer.tsx:82](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L82) ___ @@ -392,7 +391,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/vue/Virtualizer.tsx:90](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L90) +[src/vue/Virtualizer.tsx:90](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L90) ___ @@ -404,19 +403,7 @@ If you put an element before virtualizer, you have to define its height with thi #### Defined in -[src/vue/Virtualizer.tsx:94](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L94) - -___ - -### endMargin - -• `Optional` `Readonly` **endMargin**: `number` = `Number` - -If you put an element after virtualizer, you have to define its height with this prop. - -#### Defined in - -[src/vue/Virtualizer.tsx:98](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L98) +[src/vue/Virtualizer.tsx:94](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L94) ___ @@ -428,7 +415,7 @@ A prop for SSR. If set, the specified amount of items will be mounted in the ini #### Defined in -[src/vue/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L102) +[src/vue/Virtualizer.tsx:98](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L98) ___ @@ -452,7 +439,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/vue/Virtualizer.tsx:34](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L34) +[src/vue/Virtualizer.tsx:34](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L34) ___ @@ -464,7 +451,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/vue/Virtualizer.tsx:38](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L38) +[src/vue/Virtualizer.tsx:38](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L38) ___ @@ -476,4 +463,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/vue/Virtualizer.tsx:42](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/Virtualizer.tsx#L42) +[src/vue/Virtualizer.tsx:42](https://github.com/inokawa/virtua/blob/42725126/src/vue/Virtualizer.tsx#L42) diff --git a/docs/classes/vue.WindowVirtualizer.md b/docs/classes/vue.WindowVirtualizer.md index 9e41283e0..f87953453 100644 --- a/docs/classes/vue.WindowVirtualizer.md +++ b/docs/classes/vue.WindowVirtualizer.md @@ -229,7 +229,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/vue/WindowVirtualizer.tsx:47](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/WindowVirtualizer.tsx#L47) +[src/vue/WindowVirtualizer.tsx:47](https://github.com/inokawa/virtua/blob/42725126/src/vue/WindowVirtualizer.tsx#L47) ___ @@ -241,7 +241,7 @@ The data items rendered by this component. #### Defined in -[src/vue/WindowVirtualizer.tsx:31](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/WindowVirtualizer.tsx#L31) +[src/vue/WindowVirtualizer.tsx:31](https://github.com/inokawa/virtua/blob/42725126/src/vue/WindowVirtualizer.tsx#L31) ___ @@ -259,7 +259,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/vue/WindowVirtualizer.tsx:36](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/WindowVirtualizer.tsx#L36) +[src/vue/WindowVirtualizer.tsx:36](https://github.com/inokawa/virtua/blob/42725126/src/vue/WindowVirtualizer.tsx#L36) ___ @@ -274,7 +274,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/vue/WindowVirtualizer.tsx:43](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/WindowVirtualizer.tsx#L43) +[src/vue/WindowVirtualizer.tsx:43](https://github.com/inokawa/virtua/blob/42725126/src/vue/WindowVirtualizer.tsx#L43) ___ @@ -286,7 +286,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/vue/WindowVirtualizer.tsx:51](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/vue/WindowVirtualizer.tsx#L51) +[src/vue/WindowVirtualizer.tsx:51](https://github.com/inokawa/virtua/blob/42725126/src/vue/WindowVirtualizer.tsx#L51) ___ diff --git a/docs/interfaces/react.CacheSnapshot.md b/docs/interfaces/react.CacheSnapshot.md index b0699239e..cedcb2c84 100644 --- a/docs/interfaces/react.CacheSnapshot.md +++ b/docs/interfaces/react.CacheSnapshot.md @@ -20,4 +20,4 @@ Serializable cache snapshot. #### Defined in -[src/core/types.ts:16](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/core/types.ts#L16) +[src/core/types.ts:16](https://github.com/inokawa/virtua/blob/42725126/src/core/types.ts#L16) diff --git a/docs/interfaces/react.CustomCellComponentProps.md b/docs/interfaces/react.CustomCellComponentProps.md index 5af7578be..8adbb8f51 100644 --- a/docs/interfaces/react.CustomCellComponentProps.md +++ b/docs/interfaces/react.CustomCellComponentProps.md @@ -19,7 +19,7 @@ Props of customized cell component for [VGrid](../modules/react.md#experimental_ #### Defined in -[src/react/VGrid.tsx:34](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L34) +[src/react/VGrid.tsx:34](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L34) ___ @@ -29,4 +29,4 @@ ___ #### Defined in -[src/react/VGrid.tsx:35](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L35) +[src/react/VGrid.tsx:35](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L35) diff --git a/docs/interfaces/react.CustomContainerComponentProps.md b/docs/interfaces/react.CustomContainerComponentProps.md index 72f7ef508..682f112ce 100644 --- a/docs/interfaces/react.CustomContainerComponentProps.md +++ b/docs/interfaces/react.CustomContainerComponentProps.md @@ -17,7 +17,7 @@ #### Defined in -[src/react/types.ts:10](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/types.ts#L10) +[src/react/types.ts:10](https://github.com/inokawa/virtua/blob/42725126/src/react/types.ts#L10) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/react/types.ts:11](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/types.ts#L11) +[src/react/types.ts:11](https://github.com/inokawa/virtua/blob/42725126/src/react/types.ts#L11) diff --git a/docs/interfaces/react.CustomItemComponentProps.md b/docs/interfaces/react.CustomItemComponentProps.md index 96dae80a4..7749f137d 100644 --- a/docs/interfaces/react.CustomItemComponentProps.md +++ b/docs/interfaces/react.CustomItemComponentProps.md @@ -20,7 +20,7 @@ Props of customized item component for [Virtualizer](../modules/react.md#virtual #### Defined in -[src/react/types.ts:23](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/types.ts#L23) +[src/react/types.ts:23](https://github.com/inokawa/virtua/blob/42725126/src/react/types.ts#L23) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[src/react/types.ts:24](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/types.ts#L24) +[src/react/types.ts:24](https://github.com/inokawa/virtua/blob/42725126/src/react/types.ts#L24) ___ @@ -40,4 +40,4 @@ ___ #### Defined in -[src/react/types.ts:25](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/types.ts#L25) +[src/react/types.ts:25](https://github.com/inokawa/virtua/blob/42725126/src/react/types.ts#L25) diff --git a/docs/interfaces/react.ScrollToIndexOpts.md b/docs/interfaces/react.ScrollToIndexOpts.md index a0306efd7..ca3226f87 100644 --- a/docs/interfaces/react.ScrollToIndexOpts.md +++ b/docs/interfaces/react.ScrollToIndexOpts.md @@ -31,7 +31,7 @@ Alignment of item. #### Defined in -[src/core/types.ts:32](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/core/types.ts#L32) +[src/core/types.ts:32](https://github.com/inokawa/virtua/blob/42725126/src/core/types.ts#L32) ___ @@ -45,7 +45,7 @@ If true, scrolling animates smoothly with [`behavior: smooth` of scrollTo](https #### Defined in -[src/core/types.ts:38](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/core/types.ts#L38) +[src/core/types.ts:38](https://github.com/inokawa/virtua/blob/42725126/src/core/types.ts#L38) ___ @@ -63,4 +63,4 @@ Additional offset from the scrolled position. #### Defined in -[src/core/types.ts:43](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/core/types.ts#L43) +[src/core/types.ts:43](https://github.com/inokawa/virtua/blob/42725126/src/core/types.ts#L43) diff --git a/docs/interfaces/react.VGridHandle.md b/docs/interfaces/react.VGridHandle.md index f65780fa1..ede52d9f5 100644 --- a/docs/interfaces/react.VGridHandle.md +++ b/docs/interfaces/react.VGridHandle.md @@ -42,7 +42,7 @@ Scroll to the item specified by index. #### Defined in -[src/react/VGrid.tsx:133](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L133) +[src/react/VGrid.tsx:133](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L133) ___ @@ -65,7 +65,7 @@ Scroll to the given offset. #### Defined in -[src/react/VGrid.tsx:139](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L139) +[src/react/VGrid.tsx:139](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L139) ___ @@ -88,7 +88,7 @@ Scroll by the given offset. #### Defined in -[src/react/VGrid.tsx:145](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L145) +[src/react/VGrid.tsx:145](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L145) ## Properties @@ -100,7 +100,7 @@ Get current scrollTop. #### Defined in -[src/react/VGrid.tsx:107](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L107) +[src/react/VGrid.tsx:107](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L107) ___ @@ -112,7 +112,7 @@ Get current scrollLeft. #### Defined in -[src/react/VGrid.tsx:111](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L111) +[src/react/VGrid.tsx:111](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L111) ___ @@ -124,7 +124,7 @@ Get current scrollHeight. #### Defined in -[src/react/VGrid.tsx:115](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L115) +[src/react/VGrid.tsx:115](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L115) ___ @@ -136,7 +136,7 @@ Get current scrollWidth. #### Defined in -[src/react/VGrid.tsx:119](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L119) +[src/react/VGrid.tsx:119](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L119) ___ @@ -148,7 +148,7 @@ Get current offsetHeight. #### Defined in -[src/react/VGrid.tsx:123](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L123) +[src/react/VGrid.tsx:123](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L123) ___ @@ -160,4 +160,4 @@ Get current offsetWidth. #### Defined in -[src/react/VGrid.tsx:127](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L127) +[src/react/VGrid.tsx:127](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L127) diff --git a/docs/interfaces/react.VGridProps.md b/docs/interfaces/react.VGridProps.md index 4620c72bc..f5f10304d 100644 --- a/docs/interfaces/react.VGridProps.md +++ b/docs/interfaces/react.VGridProps.md @@ -111,7 +111,7 @@ A function to create elements rendered by this component. #### Defined in -[src/react/VGrid.tsx:155](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L155) +[src/react/VGrid.tsx:155](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L155) ___ @@ -123,7 +123,7 @@ Total row length of grid. #### Defined in -[src/react/VGrid.tsx:168](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L168) +[src/react/VGrid.tsx:168](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L168) ___ @@ -135,7 +135,7 @@ Total column length of grid. #### Defined in -[src/react/VGrid.tsx:172](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L172) +[src/react/VGrid.tsx:172](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L172) ___ @@ -153,7 +153,7 @@ Cell height hint for unmeasured items. It's recommended to specify this prop if #### Defined in -[src/react/VGrid.tsx:177](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L177) +[src/react/VGrid.tsx:177](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L177) ___ @@ -171,7 +171,7 @@ Cell width hint for unmeasured items. It's recommended to specify this prop if i #### Defined in -[src/react/VGrid.tsx:182](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L182) +[src/react/VGrid.tsx:182](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L182) ___ @@ -189,7 +189,7 @@ Number of items to render above/below the visible bounds of the grid. Lower valu #### Defined in -[src/react/VGrid.tsx:187](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L187) +[src/react/VGrid.tsx:187](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L187) ___ @@ -201,7 +201,7 @@ If set, the specified amount of rows will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:191](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L191) +[src/react/VGrid.tsx:191](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L191) ___ @@ -213,7 +213,7 @@ If set, the specified amount of cols will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:195](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L195) +[src/react/VGrid.tsx:195](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L195) ___ @@ -231,7 +231,7 @@ Component or element type for cell element. This component will get [CustomCellC #### Defined in -[src/react/VGrid.tsx:200](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L200) +[src/react/VGrid.tsx:200](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L200) ___ diff --git a/docs/interfaces/react.VListHandle.md b/docs/interfaces/react.VListHandle.md index 51511e6e5..b1c0ed77f 100644 --- a/docs/interfaces/react.VListHandle.md +++ b/docs/interfaces/react.VListHandle.md @@ -50,7 +50,7 @@ Get item offset from start. #### Defined in -[src/react/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L58) +[src/react/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L58) ___ @@ -77,7 +77,7 @@ Scroll to the item specified by index. #### Defined in -[src/react/Virtualizer.tsx:64](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L64) +[src/react/Virtualizer.tsx:64](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L64) ___ @@ -103,7 +103,7 @@ Scroll to the given offset. #### Defined in -[src/react/Virtualizer.tsx:69](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L69) +[src/react/Virtualizer.tsx:69](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L69) ___ @@ -129,7 +129,7 @@ Scroll by the given offset. #### Defined in -[src/react/Virtualizer.tsx:74](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L74) +[src/react/Virtualizer.tsx:74](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L74) ## Properties @@ -145,7 +145,7 @@ Get current [CacheSnapshot](react.CacheSnapshot.md). #### Defined in -[src/react/Virtualizer.tsx:41](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L41) +[src/react/Virtualizer.tsx:41](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L41) ___ @@ -161,7 +161,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/Virtualizer.tsx:45](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L45) +[src/react/Virtualizer.tsx:45](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L45) ___ @@ -177,7 +177,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/Virtualizer.tsx:49](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L49) +[src/react/Virtualizer.tsx:49](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L49) ___ @@ -193,4 +193,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L53) +[src/react/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L53) diff --git a/docs/interfaces/react.VListProps.md b/docs/interfaces/react.VListProps.md index 67bbc413b..4b641115e 100644 --- a/docs/interfaces/react.VListProps.md +++ b/docs/interfaces/react.VListProps.md @@ -99,7 +99,7 @@ If true, items are aligned to the end of the list when total size of items are s #### Defined in -[src/react/VList.tsx:37](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VList.tsx#L37) +[src/react/VList.tsx:37](https://github.com/inokawa/virtua/blob/42725126/src/react/VList.tsx#L37) ___ @@ -117,7 +117,7 @@ Pick.children #### Defined in -[src/react/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L86) +[src/react/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L86) ___ @@ -153,7 +153,7 @@ Pick.onScroll #### Defined in -[src/react/Virtualizer.tsx:145](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L145) +[src/react/Virtualizer.tsx:141](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L141) ___ @@ -169,7 +169,7 @@ Pick.shift #### Defined in -[src/react/Virtualizer.tsx:106](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L106) +[src/react/Virtualizer.tsx:106](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L106) ___ @@ -185,7 +185,7 @@ Pick.count #### Defined in -[src/react/Virtualizer.tsx:90](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L90) +[src/react/Virtualizer.tsx:90](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L90) ___ @@ -207,7 +207,7 @@ Pick.overscan #### Defined in -[src/react/Virtualizer.tsx:95](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L95) +[src/react/Virtualizer.tsx:95](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L95) ___ @@ -226,7 +226,7 @@ Pick.itemSize #### Defined in -[src/react/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L102) +[src/react/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L102) ___ @@ -242,7 +242,7 @@ Pick.horizontal #### Defined in -[src/react/Virtualizer.tsx:110](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L110) +[src/react/Virtualizer.tsx:110](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L110) ___ @@ -258,7 +258,7 @@ Pick.cache #### Defined in -[src/react/Virtualizer.tsx:114](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L114) +[src/react/Virtualizer.tsx:114](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L114) ___ @@ -274,7 +274,7 @@ Pick.ssrCount #### Defined in -[src/react/Virtualizer.tsx:126](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L126) +[src/react/Virtualizer.tsx:122](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L122) ___ @@ -296,7 +296,7 @@ Pick.item #### Defined in -[src/react/Virtualizer.tsx:136](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L136) +[src/react/Virtualizer.tsx:132](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L132) ___ @@ -322,7 +322,7 @@ Pick.onScrollEnd #### Defined in -[src/react/Virtualizer.tsx:149](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L149) +[src/react/Virtualizer.tsx:145](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L145) ___ @@ -355,7 +355,7 @@ Pick.onRangeChange #### Defined in -[src/react/Virtualizer.tsx:153](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L153) +[src/react/Virtualizer.tsx:149](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L149) ___ diff --git a/docs/interfaces/react.VirtualizerHandle.md b/docs/interfaces/react.VirtualizerHandle.md index 96b287279..72aeaaad4 100644 --- a/docs/interfaces/react.VirtualizerHandle.md +++ b/docs/interfaces/react.VirtualizerHandle.md @@ -46,7 +46,7 @@ Get item offset from start. #### Defined in -[src/react/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L58) +[src/react/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L58) ___ @@ -69,7 +69,7 @@ Scroll to the item specified by index. #### Defined in -[src/react/Virtualizer.tsx:64](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L64) +[src/react/Virtualizer.tsx:64](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L64) ___ @@ -91,7 +91,7 @@ Scroll to the given offset. #### Defined in -[src/react/Virtualizer.tsx:69](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L69) +[src/react/Virtualizer.tsx:69](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L69) ___ @@ -113,7 +113,7 @@ Scroll by the given offset. #### Defined in -[src/react/Virtualizer.tsx:74](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L74) +[src/react/Virtualizer.tsx:74](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L74) ## Properties @@ -125,7 +125,7 @@ Get current [CacheSnapshot](react.CacheSnapshot.md). #### Defined in -[src/react/Virtualizer.tsx:41](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L41) +[src/react/Virtualizer.tsx:41](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L41) ___ @@ -137,7 +137,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/Virtualizer.tsx:45](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L45) +[src/react/Virtualizer.tsx:45](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L45) ___ @@ -149,7 +149,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/Virtualizer.tsx:49](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L49) +[src/react/Virtualizer.tsx:49](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L49) ___ @@ -161,4 +161,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L53) +[src/react/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L53) diff --git a/docs/interfaces/react.VirtualizerProps.md b/docs/interfaces/react.VirtualizerProps.md index bd778757f..84383dad4 100644 --- a/docs/interfaces/react.VirtualizerProps.md +++ b/docs/interfaces/react.VirtualizerProps.md @@ -16,7 +16,6 @@ Props of [Virtualizer](../modules/react.md#virtualizer). - [horizontal](react.VirtualizerProps.md#horizontal) - [cache](react.VirtualizerProps.md#cache) - [startMargin](react.VirtualizerProps.md#startmargin) -- [endMargin](react.VirtualizerProps.md#endmargin) - [ssrCount](react.VirtualizerProps.md#ssrcount) - [as](react.VirtualizerProps.md#as) - [item](react.VirtualizerProps.md#item) @@ -37,7 +36,7 @@ You can also pass a function and set [VirtualizerProps.count](react.VirtualizerP #### Defined in -[src/react/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L86) +[src/react/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L86) ___ @@ -49,7 +48,7 @@ If you set a function to [VirtualizerProps.children](react.VirtualizerProps.md#c #### Defined in -[src/react/Virtualizer.tsx:90](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L90) +[src/react/Virtualizer.tsx:90](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L90) ___ @@ -67,7 +66,7 @@ Number of items to render above/below the visible bounds of the list. Lower valu #### Defined in -[src/react/Virtualizer.tsx:95](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L95) +[src/react/Virtualizer.tsx:95](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L95) ___ @@ -82,7 +81,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/react/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L102) +[src/react/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L102) ___ @@ -94,7 +93,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/react/Virtualizer.tsx:106](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L106) +[src/react/Virtualizer.tsx:106](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L106) ___ @@ -106,7 +105,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/Virtualizer.tsx:110](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L110) +[src/react/Virtualizer.tsx:110](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L110) ___ @@ -118,7 +117,7 @@ You can restore cache by passing a [CacheSnapshot](react.CacheSnapshot.md) on mo #### Defined in -[src/react/Virtualizer.tsx:114](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L114) +[src/react/Virtualizer.tsx:114](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L114) ___ @@ -130,19 +129,7 @@ If you put an element before virtualizer, you have to define its height with thi #### Defined in -[src/react/Virtualizer.tsx:118](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L118) - -___ - -### endMargin - -• `Optional` **endMargin**: `number` - -If you put an element after virtualizer, you have to define its height with this prop. - -#### Defined in - -[src/react/Virtualizer.tsx:122](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L122) +[src/react/Virtualizer.tsx:118](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L118) ___ @@ -154,7 +141,7 @@ A prop for SSR. If set, the specified amount of items will be mounted in the ini #### Defined in -[src/react/Virtualizer.tsx:126](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L126) +[src/react/Virtualizer.tsx:122](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L122) ___ @@ -172,7 +159,7 @@ Component or element type for container element. #### Defined in -[src/react/Virtualizer.tsx:131](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L131) +[src/react/Virtualizer.tsx:127](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L127) ___ @@ -190,7 +177,7 @@ Component or element type for item element. This component will get [CustomItemC #### Defined in -[src/react/Virtualizer.tsx:136](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L136) +[src/react/Virtualizer.tsx:132](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L132) ___ @@ -202,7 +189,7 @@ Reference to the scrollable element. The default will get the parent element of #### Defined in -[src/react/Virtualizer.tsx:140](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L140) +[src/react/Virtualizer.tsx:136](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L136) ___ @@ -234,7 +221,7 @@ Callback invoked whenever scroll offset changes. #### Defined in -[src/react/Virtualizer.tsx:145](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L145) +[src/react/Virtualizer.tsx:141](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L141) ___ @@ -256,7 +243,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/Virtualizer.tsx:149](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L149) +[src/react/Virtualizer.tsx:145](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L145) ___ @@ -285,4 +272,4 @@ Callback invoked when visible items range changes. #### Defined in -[src/react/Virtualizer.tsx:153](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L153) +[src/react/Virtualizer.tsx:149](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L149) diff --git a/docs/interfaces/react.WindowVirtualizerHandle.md b/docs/interfaces/react.WindowVirtualizerHandle.md index d152471d8..0b463f90e 100644 --- a/docs/interfaces/react.WindowVirtualizerHandle.md +++ b/docs/interfaces/react.WindowVirtualizerHandle.md @@ -20,4 +20,4 @@ Get current [CacheSnapshot](react.CacheSnapshot.md). #### Defined in -[src/react/WindowVirtualizer.tsx:37](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L37) +[src/react/WindowVirtualizer.tsx:37](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L37) diff --git a/docs/interfaces/react.WindowVirtualizerProps.md b/docs/interfaces/react.WindowVirtualizerProps.md index 594340242..330465158 100644 --- a/docs/interfaces/react.WindowVirtualizerProps.md +++ b/docs/interfaces/react.WindowVirtualizerProps.md @@ -33,7 +33,7 @@ You can also pass a function and set [WindowVirtualizerProps.count](react.Window #### Defined in -[src/react/WindowVirtualizer.tsx:49](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L49) +[src/react/WindowVirtualizer.tsx:49](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L49) ___ @@ -45,7 +45,7 @@ If you set a function to [WindowVirtualizerProps.children](react.WindowVirtualiz #### Defined in -[src/react/WindowVirtualizer.tsx:53](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L53) +[src/react/WindowVirtualizer.tsx:53](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L53) ___ @@ -63,7 +63,7 @@ Number of items to render above/below the visible bounds of the list. Lower valu #### Defined in -[src/react/WindowVirtualizer.tsx:58](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L58) +[src/react/WindowVirtualizer.tsx:58](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L58) ___ @@ -78,7 +78,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/react/WindowVirtualizer.tsx:65](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L65) +[src/react/WindowVirtualizer.tsx:65](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L65) ___ @@ -90,7 +90,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/react/WindowVirtualizer.tsx:69](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L69) +[src/react/WindowVirtualizer.tsx:69](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L69) ___ @@ -102,7 +102,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/WindowVirtualizer.tsx:73](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L73) +[src/react/WindowVirtualizer.tsx:73](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L73) ___ @@ -114,7 +114,7 @@ You can restore cache by passing a [CacheSnapshot](react.CacheSnapshot.md) on mo #### Defined in -[src/react/WindowVirtualizer.tsx:77](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L77) +[src/react/WindowVirtualizer.tsx:77](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L77) ___ @@ -126,7 +126,7 @@ A prop for SSR. If set, the specified amount of items will be mounted in the ini #### Defined in -[src/react/WindowVirtualizer.tsx:81](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L81) +[src/react/WindowVirtualizer.tsx:81](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L81) ___ @@ -144,7 +144,7 @@ Component or element type for container element. #### Defined in -[src/react/WindowVirtualizer.tsx:86](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L86) +[src/react/WindowVirtualizer.tsx:86](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L86) ___ @@ -162,7 +162,7 @@ Component or element type for item element. This component will get [CustomItemC #### Defined in -[src/react/WindowVirtualizer.tsx:91](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L91) +[src/react/WindowVirtualizer.tsx:91](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L91) ___ @@ -184,7 +184,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/WindowVirtualizer.tsx:95](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L95) +[src/react/WindowVirtualizer.tsx:95](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L95) ___ @@ -213,4 +213,4 @@ Callback invoked when visible items range changes. #### Defined in -[src/react/WindowVirtualizer.tsx:99](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L99) +[src/react/WindowVirtualizer.tsx:99](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L99) diff --git a/docs/interfaces/solid.VListHandle.md b/docs/interfaces/solid.VListHandle.md index 58c32d7f8..ed706031f 100644 --- a/docs/interfaces/solid.VListHandle.md +++ b/docs/interfaces/solid.VListHandle.md @@ -49,7 +49,7 @@ Get item offset from start. #### Defined in -[src/solid/Virtualizer.tsx:52](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L52) +[src/solid/Virtualizer.tsx:52](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L52) ___ @@ -76,7 +76,7 @@ Scroll to the item specified by index. #### Defined in -[src/solid/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L58) +[src/solid/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L58) ___ @@ -102,7 +102,7 @@ Scroll to the given offset. #### Defined in -[src/solid/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L63) +[src/solid/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L63) ___ @@ -128,7 +128,7 @@ Scroll by the given offset. #### Defined in -[src/solid/Virtualizer.tsx:68](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L68) +[src/solid/Virtualizer.tsx:68](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L68) ## Properties @@ -144,7 +144,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/solid/Virtualizer.tsx:39](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L39) +[src/solid/Virtualizer.tsx:39](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L39) ___ @@ -160,7 +160,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/solid/Virtualizer.tsx:43](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L43) +[src/solid/Virtualizer.tsx:43](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L43) ___ @@ -176,4 +176,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/solid/Virtualizer.tsx:47](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L47) +[src/solid/Virtualizer.tsx:47](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L47) diff --git a/docs/interfaces/solid.VListProps.md b/docs/interfaces/solid.VListProps.md index faca6d110..9ded933dd 100644 --- a/docs/interfaces/solid.VListProps.md +++ b/docs/interfaces/solid.VListProps.md @@ -118,7 +118,7 @@ Pick.children #### Defined in -[src/solid/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L86) +[src/solid/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L86) ___ @@ -154,7 +154,7 @@ Pick.onScroll #### Defined in -[src/solid/Virtualizer.tsx:111](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L111) +[src/solid/Virtualizer.tsx:111](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L111) ___ @@ -186,7 +186,7 @@ Pick.ref #### Defined in -[src/solid/Virtualizer.tsx:78](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L78) +[src/solid/Virtualizer.tsx:78](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L78) ___ @@ -202,7 +202,7 @@ Pick.shift #### Defined in -[src/solid/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L102) +[src/solid/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L102) ___ @@ -218,7 +218,7 @@ Pick.data #### Defined in -[src/solid/Virtualizer.tsx:82](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L82) +[src/solid/Virtualizer.tsx:82](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L82) ___ @@ -240,7 +240,7 @@ Pick.overscan #### Defined in -[src/solid/Virtualizer.tsx:91](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L91) +[src/solid/Virtualizer.tsx:91](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L91) ___ @@ -259,7 +259,7 @@ Pick.itemSize #### Defined in -[src/solid/Virtualizer.tsx:98](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L98) +[src/solid/Virtualizer.tsx:98](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L98) ___ @@ -275,7 +275,7 @@ Pick.horizontal #### Defined in -[src/solid/Virtualizer.tsx:106](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L106) +[src/solid/Virtualizer.tsx:106](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L106) ___ @@ -301,7 +301,7 @@ Pick.onScrollEnd #### Defined in -[src/solid/Virtualizer.tsx:115](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L115) +[src/solid/Virtualizer.tsx:115](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L115) ___ @@ -334,7 +334,7 @@ Pick.onRangeChange #### Defined in -[src/solid/Virtualizer.tsx:119](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L119) +[src/solid/Virtualizer.tsx:119](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L119) ___ @@ -1305,4 +1305,4 @@ ViewportComponentAttributes.style #### Defined in -[src/solid/types.ts:7](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/types.ts#L7) +[src/solid/types.ts:7](https://github.com/inokawa/virtua/blob/42725126/src/solid/types.ts#L7) diff --git a/docs/interfaces/solid.VirtualizerHandle.md b/docs/interfaces/solid.VirtualizerHandle.md index 567603f0e..c2d79aa1e 100644 --- a/docs/interfaces/solid.VirtualizerHandle.md +++ b/docs/interfaces/solid.VirtualizerHandle.md @@ -45,7 +45,7 @@ Get item offset from start. #### Defined in -[src/solid/Virtualizer.tsx:52](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L52) +[src/solid/Virtualizer.tsx:52](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L52) ___ @@ -68,7 +68,7 @@ Scroll to the item specified by index. #### Defined in -[src/solid/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L58) +[src/solid/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L58) ___ @@ -90,7 +90,7 @@ Scroll to the given offset. #### Defined in -[src/solid/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L63) +[src/solid/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L63) ___ @@ -112,7 +112,7 @@ Scroll by the given offset. #### Defined in -[src/solid/Virtualizer.tsx:68](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L68) +[src/solid/Virtualizer.tsx:68](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L68) ## Properties @@ -124,7 +124,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/solid/Virtualizer.tsx:39](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L39) +[src/solid/Virtualizer.tsx:39](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L39) ___ @@ -136,7 +136,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/solid/Virtualizer.tsx:43](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L43) +[src/solid/Virtualizer.tsx:43](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L43) ___ @@ -148,4 +148,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/solid/Virtualizer.tsx:47](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L47) +[src/solid/Virtualizer.tsx:47](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L47) diff --git a/docs/interfaces/solid.VirtualizerProps.md b/docs/interfaces/solid.VirtualizerProps.md index ff58150a8..1b22f76bc 100644 --- a/docs/interfaces/solid.VirtualizerProps.md +++ b/docs/interfaces/solid.VirtualizerProps.md @@ -51,7 +51,7 @@ Get reference to [VirtualizerHandle](solid.VirtualizerHandle.md). #### Defined in -[src/solid/Virtualizer.tsx:78](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L78) +[src/solid/Virtualizer.tsx:78](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L78) ___ @@ -63,7 +63,7 @@ The data items rendered by this component. #### Defined in -[src/solid/Virtualizer.tsx:82](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L82) +[src/solid/Virtualizer.tsx:82](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L82) ___ @@ -92,7 +92,7 @@ The elements renderer function. #### Defined in -[src/solid/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L86) +[src/solid/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L86) ___ @@ -110,7 +110,7 @@ Number of items to render above/below the visible bounds of the list. Lower valu #### Defined in -[src/solid/Virtualizer.tsx:91](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L91) +[src/solid/Virtualizer.tsx:91](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L91) ___ @@ -125,7 +125,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/solid/Virtualizer.tsx:98](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L98) +[src/solid/Virtualizer.tsx:98](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L98) ___ @@ -137,7 +137,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/solid/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L102) +[src/solid/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L102) ___ @@ -149,7 +149,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/solid/Virtualizer.tsx:106](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L106) +[src/solid/Virtualizer.tsx:106](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L106) ___ @@ -181,7 +181,7 @@ Callback invoked whenever scroll offset changes. #### Defined in -[src/solid/Virtualizer.tsx:111](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L111) +[src/solid/Virtualizer.tsx:111](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L111) ___ @@ -203,7 +203,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/solid/Virtualizer.tsx:115](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L115) +[src/solid/Virtualizer.tsx:115](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L115) ___ @@ -232,4 +232,4 @@ Callback invoked when visible items range changes. #### Defined in -[src/solid/Virtualizer.tsx:119](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L119) +[src/solid/Virtualizer.tsx:119](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L119) diff --git a/docs/interfaces/solid.WindowVirtualizerProps.md b/docs/interfaces/solid.WindowVirtualizerProps.md index 2e2614529..4683021fe 100644 --- a/docs/interfaces/solid.WindowVirtualizerProps.md +++ b/docs/interfaces/solid.WindowVirtualizerProps.md @@ -33,7 +33,7 @@ The data items rendered by this component. #### Defined in -[src/solid/WindowVirtualizer.tsx:46](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/WindowVirtualizer.tsx#L46) +[src/solid/WindowVirtualizer.tsx:46](https://github.com/inokawa/virtua/blob/42725126/src/solid/WindowVirtualizer.tsx#L46) ___ @@ -62,7 +62,7 @@ The elements renderer function. #### Defined in -[src/solid/WindowVirtualizer.tsx:50](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/WindowVirtualizer.tsx#L50) +[src/solid/WindowVirtualizer.tsx:50](https://github.com/inokawa/virtua/blob/42725126/src/solid/WindowVirtualizer.tsx#L50) ___ @@ -80,7 +80,7 @@ Number of items to render above/below the visible bounds of the list. Lower valu #### Defined in -[src/solid/WindowVirtualizer.tsx:55](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/WindowVirtualizer.tsx#L55) +[src/solid/WindowVirtualizer.tsx:55](https://github.com/inokawa/virtua/blob/42725126/src/solid/WindowVirtualizer.tsx#L55) ___ @@ -95,7 +95,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/solid/WindowVirtualizer.tsx:62](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/WindowVirtualizer.tsx#L62) +[src/solid/WindowVirtualizer.tsx:62](https://github.com/inokawa/virtua/blob/42725126/src/solid/WindowVirtualizer.tsx#L62) ___ @@ -107,7 +107,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/solid/WindowVirtualizer.tsx:66](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/WindowVirtualizer.tsx#L66) +[src/solid/WindowVirtualizer.tsx:66](https://github.com/inokawa/virtua/blob/42725126/src/solid/WindowVirtualizer.tsx#L66) ___ @@ -119,7 +119,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/solid/WindowVirtualizer.tsx:70](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/WindowVirtualizer.tsx#L70) +[src/solid/WindowVirtualizer.tsx:70](https://github.com/inokawa/virtua/blob/42725126/src/solid/WindowVirtualizer.tsx#L70) ___ @@ -141,7 +141,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/solid/WindowVirtualizer.tsx:74](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/WindowVirtualizer.tsx#L74) +[src/solid/WindowVirtualizer.tsx:74](https://github.com/inokawa/virtua/blob/42725126/src/solid/WindowVirtualizer.tsx#L74) ___ @@ -170,4 +170,4 @@ Callback invoked when visible items range changes. #### Defined in -[src/solid/WindowVirtualizer.tsx:78](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/WindowVirtualizer.tsx#L78) +[src/solid/WindowVirtualizer.tsx:78](https://github.com/inokawa/virtua/blob/42725126/src/solid/WindowVirtualizer.tsx#L78) diff --git a/docs/modules/react.md b/docs/modules/react.md index 39ae06b49..423d59602 100644 --- a/docs/modules/react.md +++ b/docs/modules/react.md @@ -53,7 +53,7 @@ Virtualized list component. See [VListProps](../interfaces/react.VListProps.md) #### Defined in -[src/react/VList.tsx:43](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VList.tsx#L43) +[src/react/VList.tsx:43](https://github.com/inokawa/virtua/blob/42725126/src/react/VList.tsx#L43) ___ @@ -75,7 +75,7 @@ Customizable list virtualizer for advanced usage. See [VirtualizerProps](../inte #### Defined in -[src/react/Virtualizer.tsx:168](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/Virtualizer.tsx#L168) +[src/react/Virtualizer.tsx:164](https://github.com/inokawa/virtua/blob/42725126/src/react/Virtualizer.tsx#L164) ___ @@ -97,7 +97,7 @@ ___ #### Defined in -[src/react/WindowVirtualizer.tsx:114](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/WindowVirtualizer.tsx#L114) +[src/react/WindowVirtualizer.tsx:114](https://github.com/inokawa/virtua/blob/42725126/src/react/WindowVirtualizer.tsx#L114) ___ @@ -119,7 +119,7 @@ Virtualized grid component. See [VGridProps](../interfaces/react.VGridProps.md) #### Defined in -[src/react/VGrid.tsx:206](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L206) +[src/react/VGrid.tsx:206](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L206) ## Type Aliases @@ -129,7 +129,7 @@ Virtualized grid component. See [VGridProps](../interfaces/react.VGridProps.md) #### Defined in -[src/core/types.ts:19](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/core/types.ts#L19) +[src/core/types.ts:19](https://github.com/inokawa/virtua/blob/42725126/src/core/types.ts#L19) ___ @@ -139,7 +139,7 @@ ___ #### Defined in -[src/react/VGrid.tsx:38](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/VGrid.tsx#L38) +[src/react/VGrid.tsx:38](https://github.com/inokawa/virtua/blob/42725126/src/react/VGrid.tsx#L38) ___ @@ -149,7 +149,7 @@ ___ #### Defined in -[src/react/types.ts:3](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/types.ts#L3) +[src/react/types.ts:3](https://github.com/inokawa/virtua/blob/42725126/src/react/types.ts#L3) ___ @@ -159,7 +159,7 @@ ___ #### Defined in -[src/react/types.ts:14](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/types.ts#L14) +[src/react/types.ts:14](https://github.com/inokawa/virtua/blob/42725126/src/react/types.ts#L14) ___ @@ -169,4 +169,4 @@ ___ #### Defined in -[src/react/types.ts:28](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/react/types.ts#L28) +[src/react/types.ts:28](https://github.com/inokawa/virtua/blob/42725126/src/react/types.ts#L28) diff --git a/docs/modules/solid.md b/docs/modules/solid.md index d81dee934..cb205a293 100644 --- a/docs/modules/solid.md +++ b/docs/modules/solid.md @@ -42,7 +42,7 @@ Virtualized list component. See [VListProps](../interfaces/solid.VListProps.md) #### Defined in -[src/solid/VList.tsx:39](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/VList.tsx#L39) +[src/solid/VList.tsx:39](https://github.com/inokawa/virtua/blob/42725126/src/solid/VList.tsx#L39) ___ @@ -70,7 +70,7 @@ Customizable list virtualizer for advanced usage. See [VirtualizerProps](../inte #### Defined in -[src/solid/Virtualizer.tsx:134](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/Virtualizer.tsx#L134) +[src/solid/Virtualizer.tsx:134](https://github.com/inokawa/virtua/blob/42725126/src/solid/Virtualizer.tsx#L134) ___ @@ -98,4 +98,4 @@ ___ #### Defined in -[src/solid/WindowVirtualizer.tsx:93](https://github.com/inokawa/virtua/blob/8c9e4ab3/src/solid/WindowVirtualizer.tsx#L93) +[src/solid/WindowVirtualizer.tsx:93](https://github.com/inokawa/virtua/blob/42725126/src/solid/WindowVirtualizer.tsx#L93) diff --git a/package-lock.json b/package-lock.json index d73ce484d..5b8a836a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "virtua", - "version": "0.28.0", + "version": "0.29.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "virtua", - "version": "0.28.0", + "version": "0.29.0", "license": "MIT", "devDependencies": { "@babel/plugin-transform-react-pure-annotations": "7.23.3", diff --git a/package.json b/package.json index ee5148e24..b02ac7bac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "virtua", - "version": "0.28.0", + "version": "0.29.0", "description": "A zero-config, fast and small (~3kB) virtual list (and grid) component for React, Vue and Solid.", "main": "lib/index.js", "module": "lib/index.mjs",