diff --git a/docs/react/functions/VList.md b/docs/react/functions/VList.md index 446729a8..5b264b24 100644 --- a/docs/react/functions/VList.md +++ b/docs/react/functions/VList.md @@ -18,4 +18,4 @@ Virtualized list component. See [VListProps](../interfaces/VListProps.md) and [V ## Defined in -[src/react/VList.tsx:44](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VList.tsx#L44) +[src/react/VList.tsx:44](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VList.tsx#L44) diff --git a/docs/react/functions/Virtualizer.md b/docs/react/functions/Virtualizer.md index b590b5b4..9fc94320 100644 --- a/docs/react/functions/Virtualizer.md +++ b/docs/react/functions/Virtualizer.md @@ -18,4 +18,4 @@ Customizable list virtualizer for advanced usage. See [VirtualizerProps](../inte ## Defined in -[src/react/Virtualizer.tsx:168](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L168) +[src/react/Virtualizer.tsx:169](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L169) diff --git a/docs/react/functions/WindowVirtualizer.md b/docs/react/functions/WindowVirtualizer.md index c1718ff3..a92b03d8 100644 --- a/docs/react/functions/WindowVirtualizer.md +++ b/docs/react/functions/WindowVirtualizer.md @@ -18,4 +18,4 @@ ## Defined in -[src/react/WindowVirtualizer.tsx:115](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L115) +[src/react/WindowVirtualizer.tsx:122](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L122) diff --git a/docs/react/functions/experimental_VGrid.md b/docs/react/functions/experimental_VGrid.md index 2d77b4f2..3313181f 100644 --- a/docs/react/functions/experimental_VGrid.md +++ b/docs/react/functions/experimental_VGrid.md @@ -18,4 +18,4 @@ Virtualized grid component. See [VGridProps](../interfaces/VGridProps.md) and [V ## Defined in -[src/react/VGrid.tsx:203](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L203) +[src/react/VGrid.tsx:204](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L204) diff --git a/docs/react/interfaces/CacheSnapshot.md b/docs/react/interfaces/CacheSnapshot.md index 5846dce1..4c6ee5e0 100644 --- a/docs/react/interfaces/CacheSnapshot.md +++ b/docs/react/interfaces/CacheSnapshot.md @@ -16,4 +16,4 @@ Serializable cache snapshot. #### Defined in -[src/core/types.ts:16](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/core/types.ts#L16) +[src/core/types.ts:16](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/core/types.ts#L16) diff --git a/docs/react/interfaces/CustomCellComponentProps.md b/docs/react/interfaces/CustomCellComponentProps.md index ae7c8d29..f689ccf4 100644 --- a/docs/react/interfaces/CustomCellComponentProps.md +++ b/docs/react/interfaces/CustomCellComponentProps.md @@ -14,7 +14,7 @@ Props of customized cell component for [VGrid](../functions/experimental_VGrid.m #### Defined in -[src/react/VGrid.tsx:33](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L33) +[src/react/VGrid.tsx:34](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L34) *** @@ -24,4 +24,4 @@ Props of customized cell component for [VGrid](../functions/experimental_VGrid.m #### Defined in -[src/react/VGrid.tsx:34](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L34) +[src/react/VGrid.tsx:35](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L35) diff --git a/docs/react/interfaces/CustomContainerComponentProps.md b/docs/react/interfaces/CustomContainerComponentProps.md index 8604b873..ac1ee81f 100644 --- a/docs/react/interfaces/CustomContainerComponentProps.md +++ b/docs/react/interfaces/CustomContainerComponentProps.md @@ -12,7 +12,7 @@ #### Defined in -[src/react/types.ts:10](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/types.ts#L10) +[src/react/types.ts:10](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/types.ts#L10) *** @@ -22,4 +22,4 @@ #### Defined in -[src/react/types.ts:11](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/types.ts#L11) +[src/react/types.ts:11](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/types.ts#L11) diff --git a/docs/react/interfaces/CustomItemComponentProps.md b/docs/react/interfaces/CustomItemComponentProps.md index 7aeab549..96a82ad8 100644 --- a/docs/react/interfaces/CustomItemComponentProps.md +++ b/docs/react/interfaces/CustomItemComponentProps.md @@ -14,7 +14,7 @@ Props of customized item component for [Virtualizer](../functions/Virtualizer.md #### Defined in -[src/react/types.ts:23](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/types.ts#L23) +[src/react/types.ts:23](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/types.ts#L23) *** @@ -24,7 +24,7 @@ Props of customized item component for [Virtualizer](../functions/Virtualizer.md #### Defined in -[src/react/types.ts:24](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/types.ts#L24) +[src/react/types.ts:24](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/types.ts#L24) *** @@ -34,4 +34,4 @@ Props of customized item component for [Virtualizer](../functions/Virtualizer.md #### Defined in -[src/react/types.ts:25](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/types.ts#L25) +[src/react/types.ts:25](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/types.ts#L25) diff --git a/docs/react/interfaces/ScrollToIndexOpts.md b/docs/react/interfaces/ScrollToIndexOpts.md index 993ef8c6..c938f000 100644 --- a/docs/react/interfaces/ScrollToIndexOpts.md +++ b/docs/react/interfaces/ScrollToIndexOpts.md @@ -25,7 +25,7 @@ Alignment of item. #### Defined in -[src/core/types.ts:32](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/core/types.ts#L32) +[src/core/types.ts:32](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/core/types.ts#L32) *** @@ -39,7 +39,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/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/core/types.ts#L38) +[src/core/types.ts:38](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/core/types.ts#L38) *** @@ -57,4 +57,4 @@ Additional offset from the scrolled position. #### Defined in -[src/core/types.ts:43](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/core/types.ts#L43) +[src/core/types.ts:43](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/core/types.ts#L43) diff --git a/docs/react/interfaces/VGridHandle.md b/docs/react/interfaces/VGridHandle.md index c792ca51..4d47d437 100644 --- a/docs/react/interfaces/VGridHandle.md +++ b/docs/react/interfaces/VGridHandle.md @@ -30,7 +30,7 @@ vertical index of item #### Defined in -[src/react/VGrid.tsx:130](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L130) +[src/react/VGrid.tsx:131](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L131) *** @@ -56,7 +56,7 @@ offset from top #### Defined in -[src/react/VGrid.tsx:136](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L136) +[src/react/VGrid.tsx:137](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L137) *** @@ -82,7 +82,7 @@ vertical offset from current position #### Defined in -[src/react/VGrid.tsx:142](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L142) +[src/react/VGrid.tsx:143](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L143) ## Properties @@ -94,7 +94,7 @@ Get current scrollTop. #### Defined in -[src/react/VGrid.tsx:104](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L104) +[src/react/VGrid.tsx:105](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L105) *** @@ -106,7 +106,7 @@ Get current scrollLeft. #### Defined in -[src/react/VGrid.tsx:108](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L108) +[src/react/VGrid.tsx:109](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L109) *** @@ -118,7 +118,7 @@ Get current scrollHeight. #### Defined in -[src/react/VGrid.tsx:112](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L112) +[src/react/VGrid.tsx:113](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L113) *** @@ -130,7 +130,7 @@ Get current scrollWidth. #### Defined in -[src/react/VGrid.tsx:116](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L116) +[src/react/VGrid.tsx:117](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L117) *** @@ -142,7 +142,7 @@ Get current offsetHeight. #### Defined in -[src/react/VGrid.tsx:120](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L120) +[src/react/VGrid.tsx:121](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L121) *** @@ -154,4 +154,4 @@ Get current offsetWidth. #### Defined in -[src/react/VGrid.tsx:124](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L124) +[src/react/VGrid.tsx:125](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L125) diff --git a/docs/react/interfaces/VGridProps.md b/docs/react/interfaces/VGridProps.md index fdcc3c35..85461830 100644 --- a/docs/react/interfaces/VGridProps.md +++ b/docs/react/interfaces/VGridProps.md @@ -36,7 +36,7 @@ column index of cell #### Defined in -[src/react/VGrid.tsx:152](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L152) +[src/react/VGrid.tsx:153](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L153) *** @@ -48,7 +48,7 @@ Total row length of grid. #### Defined in -[src/react/VGrid.tsx:165](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L165) +[src/react/VGrid.tsx:166](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L166) *** @@ -60,7 +60,7 @@ Total column length of grid. #### Defined in -[src/react/VGrid.tsx:169](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L169) +[src/react/VGrid.tsx:170](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L170) *** @@ -78,7 +78,7 @@ Cell height hint for unmeasured items. It's recommended to specify this prop if #### Defined in -[src/react/VGrid.tsx:174](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L174) +[src/react/VGrid.tsx:175](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L175) *** @@ -96,7 +96,7 @@ Cell width hint for unmeasured items. It's recommended to specify this prop if i #### Defined in -[src/react/VGrid.tsx:179](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L179) +[src/react/VGrid.tsx:180](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L180) *** @@ -114,7 +114,7 @@ Number of items to render above/below the visible bounds of the grid. Lower valu #### Defined in -[src/react/VGrid.tsx:184](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L184) +[src/react/VGrid.tsx:185](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L185) *** @@ -126,7 +126,7 @@ If set, the specified amount of rows will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:188](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L188) +[src/react/VGrid.tsx:189](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L189) *** @@ -138,7 +138,7 @@ If set, the specified amount of cols will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:192](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L192) +[src/react/VGrid.tsx:193](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L193) *** @@ -156,7 +156,7 @@ Component or element type for cell element. This component will get [CustomCellC #### Defined in -[src/react/VGrid.tsx:197](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L197) +[src/react/VGrid.tsx:198](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L198) *** diff --git a/docs/react/interfaces/VListHandle.md b/docs/react/interfaces/VListHandle.md index e06ca181..e29b1644 100644 --- a/docs/react/interfaces/VListHandle.md +++ b/docs/react/interfaces/VListHandle.md @@ -34,7 +34,7 @@ index of item #### Defined in -[src/react/Virtualizer.tsx:64](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L64) +[src/react/Virtualizer.tsx:65](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L65) *** @@ -60,7 +60,7 @@ index of item #### Defined in -[src/react/Virtualizer.tsx:69](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L69) +[src/react/Virtualizer.tsx:70](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L70) *** @@ -90,7 +90,7 @@ options #### Defined in -[src/react/Virtualizer.tsx:75](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L75) +[src/react/Virtualizer.tsx:76](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L76) *** @@ -116,7 +116,7 @@ offset from start #### Defined in -[src/react/Virtualizer.tsx:80](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L80) +[src/react/Virtualizer.tsx:81](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L81) *** @@ -142,7 +142,7 @@ offset from current position #### Defined in -[src/react/Virtualizer.tsx:85](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L85) +[src/react/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L86) ## Properties @@ -158,7 +158,7 @@ Get current [CacheSnapshot](CacheSnapshot.md). #### Defined in -[src/react/Virtualizer.tsx:39](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L39) +[src/react/Virtualizer.tsx:40](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L40) *** @@ -174,7 +174,7 @@ Get current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/react/Virtualizer.tsx:43](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L43) +[src/react/Virtualizer.tsx:44](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L44) *** @@ -190,7 +190,7 @@ Get current scrollHeight, or scrollWidth if horizontal: true. #### Defined in -[src/react/Virtualizer.tsx:47](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L47) +[src/react/Virtualizer.tsx:48](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L48) *** @@ -206,7 +206,7 @@ Get current offsetHeight, or offsetWidth if horizontal: true. #### Defined in -[src/react/Virtualizer.tsx:51](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L51) +[src/react/Virtualizer.tsx:52](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L52) *** @@ -226,7 +226,7 @@ Find the start index of visible range of items. #### Defined in -[src/react/Virtualizer.tsx:55](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L55) +[src/react/Virtualizer.tsx:56](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L56) *** @@ -246,4 +246,4 @@ Find the end index of visible range of items. #### Defined in -[src/react/Virtualizer.tsx:59](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L59) +[src/react/Virtualizer.tsx:60](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L60) diff --git a/docs/react/interfaces/VListProps.md b/docs/react/interfaces/VListProps.md index 17a53479..d34ab309 100644 --- a/docs/react/interfaces/VListProps.md +++ b/docs/react/interfaces/VListProps.md @@ -20,7 +20,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:38](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VList.tsx#L38) +[src/react/VList.tsx:38](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VList.tsx#L38) *** @@ -38,7 +38,7 @@ You can also pass a function and set [VirtualizerProps.count](VirtualizerProps.m #### Defined in -[src/react/Virtualizer.tsx:97](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L97) +[src/react/Virtualizer.tsx:98](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L98) *** @@ -64,7 +64,7 @@ Current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/react/Virtualizer.tsx:158](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L158) +[src/react/Virtualizer.tsx:159](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L159) *** @@ -80,7 +80,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/react/Virtualizer.tsx:117](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L117) +[src/react/Virtualizer.tsx:118](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L118) *** @@ -96,7 +96,7 @@ If you set a function to [VirtualizerProps.children](VirtualizerProps.md#childre #### Defined in -[src/react/Virtualizer.tsx:101](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L101) +[src/react/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L102) *** @@ -118,7 +118,7 @@ Number of items to render above/below the visible bounds of the list. Lower valu #### Defined in -[src/react/Virtualizer.tsx:106](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L106) +[src/react/Virtualizer.tsx:107](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L107) *** @@ -137,7 +137,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/react/Virtualizer.tsx:113](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L113) +[src/react/Virtualizer.tsx:114](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L114) *** @@ -153,7 +153,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/Virtualizer.tsx:121](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L121) +[src/react/Virtualizer.tsx:122](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L122) *** @@ -169,7 +169,7 @@ List of indexes that should be always mounted, even when off screen. #### Defined in -[src/react/Virtualizer.tsx:125](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L125) +[src/react/Virtualizer.tsx:126](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L126) *** @@ -187,7 +187,7 @@ You can restore cache by passing a [CacheSnapshot](CacheSnapshot.md) on mount. T #### Defined in -[src/react/Virtualizer.tsx:131](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L131) +[src/react/Virtualizer.tsx:132](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L132) *** @@ -203,7 +203,7 @@ A prop for SSR. If set, the specified amount of items will be mounted in the ini #### Defined in -[src/react/Virtualizer.tsx:139](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L139) +[src/react/Virtualizer.tsx:140](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L140) *** @@ -225,7 +225,7 @@ Component or element type for item element. This component will get [CustomItemC #### Defined in -[src/react/Virtualizer.tsx:149](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L149) +[src/react/Virtualizer.tsx:150](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L150) *** @@ -245,7 +245,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/Virtualizer.tsx:162](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L162) +[src/react/Virtualizer.tsx:163](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L163) *** diff --git a/docs/react/interfaces/VirtualizerHandle.md b/docs/react/interfaces/VirtualizerHandle.md index 8160486f..3fc4df91 100644 --- a/docs/react/interfaces/VirtualizerHandle.md +++ b/docs/react/interfaces/VirtualizerHandle.md @@ -30,7 +30,7 @@ index of item #### Defined in -[src/react/Virtualizer.tsx:64](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L64) +[src/react/Virtualizer.tsx:65](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L65) *** @@ -52,7 +52,7 @@ index of item #### Defined in -[src/react/Virtualizer.tsx:69](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L69) +[src/react/Virtualizer.tsx:70](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L70) *** @@ -78,7 +78,7 @@ options #### Defined in -[src/react/Virtualizer.tsx:75](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L75) +[src/react/Virtualizer.tsx:76](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L76) *** @@ -100,7 +100,7 @@ offset from start #### Defined in -[src/react/Virtualizer.tsx:80](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L80) +[src/react/Virtualizer.tsx:81](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L81) *** @@ -122,7 +122,7 @@ offset from current position #### Defined in -[src/react/Virtualizer.tsx:85](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L85) +[src/react/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L86) ## Properties @@ -134,7 +134,7 @@ Get current [CacheSnapshot](CacheSnapshot.md). #### Defined in -[src/react/Virtualizer.tsx:39](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L39) +[src/react/Virtualizer.tsx:40](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L40) *** @@ -146,7 +146,7 @@ Get current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/react/Virtualizer.tsx:43](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L43) +[src/react/Virtualizer.tsx:44](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L44) *** @@ -158,7 +158,7 @@ Get current scrollHeight, or scrollWidth if horizontal: true. #### Defined in -[src/react/Virtualizer.tsx:47](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L47) +[src/react/Virtualizer.tsx:48](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L48) *** @@ -170,7 +170,7 @@ Get current offsetHeight, or offsetWidth if horizontal: true. #### Defined in -[src/react/Virtualizer.tsx:51](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L51) +[src/react/Virtualizer.tsx:52](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L52) *** @@ -186,7 +186,7 @@ Find the start index of visible range of items. #### Defined in -[src/react/Virtualizer.tsx:55](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L55) +[src/react/Virtualizer.tsx:56](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L56) *** @@ -202,4 +202,4 @@ Find the end index of visible range of items. #### Defined in -[src/react/Virtualizer.tsx:59](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L59) +[src/react/Virtualizer.tsx:60](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L60) diff --git a/docs/react/interfaces/VirtualizerProps.md b/docs/react/interfaces/VirtualizerProps.md index 5c9dc918..62f4951c 100644 --- a/docs/react/interfaces/VirtualizerProps.md +++ b/docs/react/interfaces/VirtualizerProps.md @@ -18,7 +18,7 @@ You can also pass a function and set [VirtualizerProps.count](VirtualizerProps.m #### Defined in -[src/react/Virtualizer.tsx:97](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L97) +[src/react/Virtualizer.tsx:98](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L98) *** @@ -30,7 +30,7 @@ If you set a function to [VirtualizerProps.children](VirtualizerProps.md#childre #### Defined in -[src/react/Virtualizer.tsx:101](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L101) +[src/react/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L102) *** @@ -48,7 +48,7 @@ Number of items to render above/below the visible bounds of the list. Lower valu #### Defined in -[src/react/Virtualizer.tsx:106](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L106) +[src/react/Virtualizer.tsx:107](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L107) *** @@ -63,7 +63,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/react/Virtualizer.tsx:113](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L113) +[src/react/Virtualizer.tsx:114](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L114) *** @@ -75,7 +75,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/react/Virtualizer.tsx:117](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L117) +[src/react/Virtualizer.tsx:118](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L118) *** @@ -87,7 +87,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/Virtualizer.tsx:121](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L121) +[src/react/Virtualizer.tsx:122](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L122) *** @@ -99,7 +99,7 @@ List of indexes that should be always mounted, even when off screen. #### Defined in -[src/react/Virtualizer.tsx:125](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L125) +[src/react/Virtualizer.tsx:126](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L126) *** @@ -113,7 +113,7 @@ You can restore cache by passing a [CacheSnapshot](CacheSnapshot.md) on mount. T #### Defined in -[src/react/Virtualizer.tsx:131](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L131) +[src/react/Virtualizer.tsx:132](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L132) *** @@ -125,7 +125,7 @@ If you put an element before virtualizer, you have to define its height with thi #### Defined in -[src/react/Virtualizer.tsx:135](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L135) +[src/react/Virtualizer.tsx:136](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L136) *** @@ -137,7 +137,7 @@ A prop for SSR. If set, the specified amount of items will be mounted in the ini #### Defined in -[src/react/Virtualizer.tsx:139](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L139) +[src/react/Virtualizer.tsx:140](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L140) *** @@ -155,7 +155,7 @@ Component or element type for container element. #### Defined in -[src/react/Virtualizer.tsx:144](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L144) +[src/react/Virtualizer.tsx:145](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L145) *** @@ -173,7 +173,7 @@ Component or element type for item element. This component will get [CustomItemC #### Defined in -[src/react/Virtualizer.tsx:149](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L149) +[src/react/Virtualizer.tsx:150](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L150) *** @@ -185,7 +185,7 @@ Reference to the scrollable element. The default will get the direct parent elem #### Defined in -[src/react/Virtualizer.tsx:153](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L153) +[src/react/Virtualizer.tsx:154](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L154) *** @@ -207,7 +207,7 @@ Current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/react/Virtualizer.tsx:158](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L158) +[src/react/Virtualizer.tsx:159](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L159) *** @@ -223,4 +223,4 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/Virtualizer.tsx:162](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/Virtualizer.tsx#L162) +[src/react/Virtualizer.tsx:163](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/Virtualizer.tsx#L163) diff --git a/docs/react/interfaces/WindowVirtualizerHandle.md b/docs/react/interfaces/WindowVirtualizerHandle.md index 34a3eff1..a0ce7c5d 100644 --- a/docs/react/interfaces/WindowVirtualizerHandle.md +++ b/docs/react/interfaces/WindowVirtualizerHandle.md @@ -6,6 +6,32 @@ Methods of [WindowVirtualizer](../functions/WindowVirtualizer.md). +## Methods + +### scrollToIndex() + +> **scrollToIndex**(`index`, `opts`?): `void` + +Scroll to the item specified by index. + +#### Parameters + +• **index**: `number` + +index of item + +• **opts?**: [`ScrollToIndexOpts`](ScrollToIndexOpts.md) + +options + +#### Returns + +`void` + +#### Defined in + +[src/react/WindowVirtualizer.tsx:51](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L51) + ## Properties ### cache @@ -16,7 +42,7 @@ Get current [CacheSnapshot](CacheSnapshot.md). #### Defined in -[src/react/WindowVirtualizer.tsx:36](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L36) +[src/react/WindowVirtualizer.tsx:37](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L37) *** @@ -32,7 +58,7 @@ Find the start index of visible range of items. #### Defined in -[src/react/WindowVirtualizer.tsx:40](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L40) +[src/react/WindowVirtualizer.tsx:41](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L41) *** @@ -48,4 +74,4 @@ Find the end index of visible range of items. #### Defined in -[src/react/WindowVirtualizer.tsx:44](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L44) +[src/react/WindowVirtualizer.tsx:45](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L45) diff --git a/docs/react/interfaces/WindowVirtualizerProps.md b/docs/react/interfaces/WindowVirtualizerProps.md index bf0267e9..b5994a8e 100644 --- a/docs/react/interfaces/WindowVirtualizerProps.md +++ b/docs/react/interfaces/WindowVirtualizerProps.md @@ -18,7 +18,7 @@ You can also pass a function and set [WindowVirtualizerProps.count](WindowVirtua #### Defined in -[src/react/WindowVirtualizer.tsx:56](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L56) +[src/react/WindowVirtualizer.tsx:63](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L63) *** @@ -30,7 +30,7 @@ If you set a function to [WindowVirtualizerProps.children](WindowVirtualizerProp #### Defined in -[src/react/WindowVirtualizer.tsx:60](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L60) +[src/react/WindowVirtualizer.tsx:67](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L67) *** @@ -48,7 +48,7 @@ Number of items to render above/below the visible bounds of the list. Lower valu #### Defined in -[src/react/WindowVirtualizer.tsx:65](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L65) +[src/react/WindowVirtualizer.tsx:72](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L72) *** @@ -63,7 +63,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/react/WindowVirtualizer.tsx:72](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L72) +[src/react/WindowVirtualizer.tsx:79](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L79) *** @@ -75,7 +75,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/react/WindowVirtualizer.tsx:76](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L76) +[src/react/WindowVirtualizer.tsx:83](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L83) *** @@ -87,7 +87,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/WindowVirtualizer.tsx:80](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L80) +[src/react/WindowVirtualizer.tsx:87](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L87) *** @@ -101,7 +101,7 @@ You can restore cache by passing a [CacheSnapshot](CacheSnapshot.md) on mount. T #### Defined in -[src/react/WindowVirtualizer.tsx:86](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L86) +[src/react/WindowVirtualizer.tsx:93](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L93) *** @@ -113,7 +113,7 @@ A prop for SSR. If set, the specified amount of items will be mounted in the ini #### Defined in -[src/react/WindowVirtualizer.tsx:90](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L90) +[src/react/WindowVirtualizer.tsx:97](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L97) *** @@ -131,7 +131,7 @@ Component or element type for container element. #### Defined in -[src/react/WindowVirtualizer.tsx:95](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L95) +[src/react/WindowVirtualizer.tsx:102](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L102) *** @@ -149,7 +149,7 @@ Component or element type for item element. This component will get [CustomItemC #### Defined in -[src/react/WindowVirtualizer.tsx:100](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L100) +[src/react/WindowVirtualizer.tsx:107](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L107) *** @@ -171,7 +171,7 @@ Current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/react/WindowVirtualizer.tsx:105](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L105) +[src/react/WindowVirtualizer.tsx:112](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L112) *** @@ -187,4 +187,4 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/WindowVirtualizer.tsx:109](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/WindowVirtualizer.tsx#L109) +[src/react/WindowVirtualizer.tsx:116](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/WindowVirtualizer.tsx#L116) diff --git a/docs/react/type-aliases/CustomCellComponent.md b/docs/react/type-aliases/CustomCellComponent.md index a6336153..2dd446cc 100644 --- a/docs/react/type-aliases/CustomCellComponent.md +++ b/docs/react/type-aliases/CustomCellComponent.md @@ -8,4 +8,4 @@ ## Defined in -[src/react/VGrid.tsx:37](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/VGrid.tsx#L37) +[src/react/VGrid.tsx:38](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/VGrid.tsx#L38) diff --git a/docs/react/type-aliases/CustomContainerComponent.md b/docs/react/type-aliases/CustomContainerComponent.md index 8cc3c5de..e02b91ed 100644 --- a/docs/react/type-aliases/CustomContainerComponent.md +++ b/docs/react/type-aliases/CustomContainerComponent.md @@ -8,4 +8,4 @@ ## Defined in -[src/react/types.ts:14](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/types.ts#L14) +[src/react/types.ts:14](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/types.ts#L14) diff --git a/docs/react/type-aliases/CustomItemComponent.md b/docs/react/type-aliases/CustomItemComponent.md index 57fd31f0..86a01511 100644 --- a/docs/react/type-aliases/CustomItemComponent.md +++ b/docs/react/type-aliases/CustomItemComponent.md @@ -8,4 +8,4 @@ ## Defined in -[src/react/types.ts:28](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/types.ts#L28) +[src/react/types.ts:28](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/types.ts#L28) diff --git a/docs/react/type-aliases/ScrollToIndexAlign.md b/docs/react/type-aliases/ScrollToIndexAlign.md index edc0a0b3..db709a0c 100644 --- a/docs/react/type-aliases/ScrollToIndexAlign.md +++ b/docs/react/type-aliases/ScrollToIndexAlign.md @@ -8,4 +8,4 @@ ## Defined in -[src/core/types.ts:19](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/core/types.ts#L19) +[src/core/types.ts:19](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/core/types.ts#L19) diff --git a/docs/react/type-aliases/ViewportComponentAttributes.md b/docs/react/type-aliases/ViewportComponentAttributes.md index 3f07d884..025ddfe6 100644 --- a/docs/react/type-aliases/ViewportComponentAttributes.md +++ b/docs/react/type-aliases/ViewportComponentAttributes.md @@ -8,4 +8,4 @@ ## Defined in -[src/react/types.ts:3](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/react/types.ts#L3) +[src/react/types.ts:3](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/react/types.ts#L3) diff --git a/docs/solid/functions/VList.md b/docs/solid/functions/VList.md index 99c743e7..db85f1cc 100644 --- a/docs/solid/functions/VList.md +++ b/docs/solid/functions/VList.md @@ -22,4 +22,4 @@ Virtualized list component. See [VListProps](../interfaces/VListProps.md) and [V ## Defined in -[src/solid/VList.tsx:38](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/VList.tsx#L38) +[src/solid/VList.tsx:38](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/VList.tsx#L38) diff --git a/docs/solid/functions/Virtualizer.md b/docs/solid/functions/Virtualizer.md index 6043d1c5..2a79f677 100644 --- a/docs/solid/functions/Virtualizer.md +++ b/docs/solid/functions/Virtualizer.md @@ -22,4 +22,4 @@ Customizable list virtualizer for advanced usage. See [VirtualizerProps](../inte ## Defined in -[src/solid/Virtualizer.tsx:153](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L153) +[src/solid/Virtualizer.tsx:153](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L153) diff --git a/docs/solid/functions/WindowVirtualizer.md b/docs/solid/functions/WindowVirtualizer.md index 3946b4dd..429aed35 100644 --- a/docs/solid/functions/WindowVirtualizer.md +++ b/docs/solid/functions/WindowVirtualizer.md @@ -22,4 +22,4 @@ ## Defined in -[src/solid/WindowVirtualizer.tsx:92](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/WindowVirtualizer.tsx#L92) +[src/solid/WindowVirtualizer.tsx:98](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L98) diff --git a/docs/solid/interfaces/VListHandle.md b/docs/solid/interfaces/VListHandle.md index 8b3889e6..591251ca 100644 --- a/docs/solid/interfaces/VListHandle.md +++ b/docs/solid/interfaces/VListHandle.md @@ -34,7 +34,7 @@ index of item #### Defined in -[src/solid/Virtualizer.tsx:61](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L61) +[src/solid/Virtualizer.tsx:61](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L61) *** @@ -60,7 +60,7 @@ index of item #### Defined in -[src/solid/Virtualizer.tsx:66](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L66) +[src/solid/Virtualizer.tsx:66](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L66) *** @@ -90,7 +90,7 @@ options #### Defined in -[src/solid/Virtualizer.tsx:72](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L72) +[src/solid/Virtualizer.tsx:72](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L72) *** @@ -116,7 +116,7 @@ offset from start #### Defined in -[src/solid/Virtualizer.tsx:77](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L77) +[src/solid/Virtualizer.tsx:77](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L77) *** @@ -142,7 +142,7 @@ offset from current position #### Defined in -[src/solid/Virtualizer.tsx:82](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L82) +[src/solid/Virtualizer.tsx:82](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L82) ## Properties @@ -158,7 +158,7 @@ Get current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/solid/Virtualizer.tsx:40](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L40) +[src/solid/Virtualizer.tsx:40](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L40) *** @@ -174,7 +174,7 @@ Get current scrollHeight, or scrollWidth if horizontal: true. #### Defined in -[src/solid/Virtualizer.tsx:44](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L44) +[src/solid/Virtualizer.tsx:44](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L44) *** @@ -190,7 +190,7 @@ Get current offsetHeight, or offsetWidth if horizontal: true. #### Defined in -[src/solid/Virtualizer.tsx:48](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L48) +[src/solid/Virtualizer.tsx:48](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L48) *** @@ -210,7 +210,7 @@ Find the start index of visible range of items. #### Defined in -[src/solid/Virtualizer.tsx:52](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L52) +[src/solid/Virtualizer.tsx:52](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L52) *** @@ -230,4 +230,4 @@ Find the end index of visible range of items. #### Defined in -[src/solid/Virtualizer.tsx:56](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L56) +[src/solid/Virtualizer.tsx:56](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L56) diff --git a/docs/solid/interfaces/VListProps.md b/docs/solid/interfaces/VListProps.md index 0ed8d015..5a25b174 100644 --- a/docs/solid/interfaces/VListProps.md +++ b/docs/solid/interfaces/VListProps.md @@ -38,7 +38,7 @@ The elements renderer function. #### Defined in -[src/solid/Virtualizer.tsx:100](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L100) +[src/solid/Virtualizer.tsx:100](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L100) *** @@ -64,7 +64,7 @@ Current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/solid/Virtualizer.tsx:143](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L143) +[src/solid/Virtualizer.tsx:143](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L143) *** @@ -88,7 +88,7 @@ Get reference to [VirtualizerHandle](VirtualizerHandle.md). #### Defined in -[src/solid/Virtualizer.tsx:92](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L92) +[src/solid/Virtualizer.tsx:92](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L92) *** @@ -104,7 +104,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/solid/Virtualizer.tsx:130](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L130) +[src/solid/Virtualizer.tsx:130](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L130) *** @@ -120,7 +120,7 @@ The data items rendered by this component. #### Defined in -[src/solid/Virtualizer.tsx:96](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L96) +[src/solid/Virtualizer.tsx:96](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L96) *** @@ -142,7 +142,7 @@ Number of items to render above/below the visible bounds of the list. Lower valu #### Defined in -[src/solid/Virtualizer.tsx:105](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L105) +[src/solid/Virtualizer.tsx:105](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L105) *** @@ -161,7 +161,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/solid/Virtualizer.tsx:126](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L126) +[src/solid/Virtualizer.tsx:126](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L126) *** @@ -177,7 +177,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/solid/Virtualizer.tsx:134](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L134) +[src/solid/Virtualizer.tsx:134](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L134) *** @@ -197,7 +197,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/solid/Virtualizer.tsx:147](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L147) +[src/solid/Virtualizer.tsx:147](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L147) *** @@ -1202,4 +1202,4 @@ node\_modules/solid-js/types/jsx.d.ts:807 #### Defined in -[src/solid/types.ts:7](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/types.ts#L7) +[src/solid/types.ts:7](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/types.ts#L7) diff --git a/docs/solid/interfaces/VirtualizerHandle.md b/docs/solid/interfaces/VirtualizerHandle.md index 84983e47..5cb8c6ff 100644 --- a/docs/solid/interfaces/VirtualizerHandle.md +++ b/docs/solid/interfaces/VirtualizerHandle.md @@ -30,7 +30,7 @@ index of item #### Defined in -[src/solid/Virtualizer.tsx:61](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L61) +[src/solid/Virtualizer.tsx:61](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L61) *** @@ -52,7 +52,7 @@ index of item #### Defined in -[src/solid/Virtualizer.tsx:66](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L66) +[src/solid/Virtualizer.tsx:66](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L66) *** @@ -78,7 +78,7 @@ options #### Defined in -[src/solid/Virtualizer.tsx:72](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L72) +[src/solid/Virtualizer.tsx:72](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L72) *** @@ -100,7 +100,7 @@ offset from start #### Defined in -[src/solid/Virtualizer.tsx:77](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L77) +[src/solid/Virtualizer.tsx:77](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L77) *** @@ -122,7 +122,7 @@ offset from current position #### Defined in -[src/solid/Virtualizer.tsx:82](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L82) +[src/solid/Virtualizer.tsx:82](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L82) ## Properties @@ -134,7 +134,7 @@ Get current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/solid/Virtualizer.tsx:40](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L40) +[src/solid/Virtualizer.tsx:40](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L40) *** @@ -146,7 +146,7 @@ Get current scrollHeight, or scrollWidth if horizontal: true. #### Defined in -[src/solid/Virtualizer.tsx:44](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L44) +[src/solid/Virtualizer.tsx:44](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L44) *** @@ -158,7 +158,7 @@ Get current offsetHeight, or offsetWidth if horizontal: true. #### Defined in -[src/solid/Virtualizer.tsx:48](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L48) +[src/solid/Virtualizer.tsx:48](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L48) *** @@ -174,7 +174,7 @@ Find the start index of visible range of items. #### Defined in -[src/solid/Virtualizer.tsx:52](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L52) +[src/solid/Virtualizer.tsx:52](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L52) *** @@ -190,4 +190,4 @@ Find the end index of visible range of items. #### Defined in -[src/solid/Virtualizer.tsx:56](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L56) +[src/solid/Virtualizer.tsx:56](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L56) diff --git a/docs/solid/interfaces/VirtualizerProps.md b/docs/solid/interfaces/VirtualizerProps.md index e6df1666..2bd153d6 100644 --- a/docs/solid/interfaces/VirtualizerProps.md +++ b/docs/solid/interfaces/VirtualizerProps.md @@ -28,7 +28,7 @@ Get reference to [VirtualizerHandle](VirtualizerHandle.md). #### Defined in -[src/solid/Virtualizer.tsx:92](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L92) +[src/solid/Virtualizer.tsx:92](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L92) *** @@ -40,7 +40,7 @@ The data items rendered by this component. #### Defined in -[src/solid/Virtualizer.tsx:96](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L96) +[src/solid/Virtualizer.tsx:96](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L96) *** @@ -62,7 +62,7 @@ The elements renderer function. #### Defined in -[src/solid/Virtualizer.tsx:100](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L100) +[src/solid/Virtualizer.tsx:100](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L100) *** @@ -80,7 +80,7 @@ Number of items to render above/below the visible bounds of the list. Lower valu #### Defined in -[src/solid/Virtualizer.tsx:105](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L105) +[src/solid/Virtualizer.tsx:105](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L105) *** @@ -98,7 +98,7 @@ Component or element type for container element. #### Defined in -[src/solid/Virtualizer.tsx:110](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L110) +[src/solid/Virtualizer.tsx:110](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L110) *** @@ -116,7 +116,7 @@ Component or element type for item element. #### Defined in -[src/solid/Virtualizer.tsx:115](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L115) +[src/solid/Virtualizer.tsx:115](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L115) *** @@ -128,7 +128,7 @@ Reference to the scrollable element. The default will get the direct parent elem #### Defined in -[src/solid/Virtualizer.tsx:119](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L119) +[src/solid/Virtualizer.tsx:119](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L119) *** @@ -143,7 +143,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/solid/Virtualizer.tsx:126](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L126) +[src/solid/Virtualizer.tsx:126](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L126) *** @@ -155,7 +155,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/solid/Virtualizer.tsx:130](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L130) +[src/solid/Virtualizer.tsx:130](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L130) *** @@ -167,7 +167,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/solid/Virtualizer.tsx:134](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L134) +[src/solid/Virtualizer.tsx:134](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L134) *** @@ -179,7 +179,7 @@ If you put an element before virtualizer, you have to define its height with thi #### Defined in -[src/solid/Virtualizer.tsx:138](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L138) +[src/solid/Virtualizer.tsx:138](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L138) *** @@ -201,7 +201,7 @@ Current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/solid/Virtualizer.tsx:143](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L143) +[src/solid/Virtualizer.tsx:143](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L143) *** @@ -217,4 +217,4 @@ Callback invoked when scrolling stops. #### Defined in -[src/solid/Virtualizer.tsx:147](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/Virtualizer.tsx#L147) +[src/solid/Virtualizer.tsx:147](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/Virtualizer.tsx#L147) diff --git a/docs/solid/interfaces/WindowVirtualizerHandle.md b/docs/solid/interfaces/WindowVirtualizerHandle.md index 5939ebb6..7243b766 100644 --- a/docs/solid/interfaces/WindowVirtualizerHandle.md +++ b/docs/solid/interfaces/WindowVirtualizerHandle.md @@ -6,6 +6,32 @@ Methods of [WindowVirtualizer](../functions/WindowVirtualizer.md). +## Methods + +### scrollToIndex() + +> **scrollToIndex**(`index`, `opts`?): `void` + +Scroll to the item specified by index. + +#### Parameters + +• **index**: `number` + +index of item + +• **opts?**: [`ScrollToIndexOpts`](../../react/interfaces/ScrollToIndexOpts.md) + +options + +#### Returns + +`void` + +#### Defined in + +[src/solid/WindowVirtualizer.tsx:45](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L45) + ## Properties ### findStartIndex() @@ -20,7 +46,7 @@ Find the start index of visible range of items. #### Defined in -[src/solid/WindowVirtualizer.tsx:35](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/WindowVirtualizer.tsx#L35) +[src/solid/WindowVirtualizer.tsx:35](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L35) *** @@ -36,4 +62,4 @@ Find the end index of visible range of items. #### Defined in -[src/solid/WindowVirtualizer.tsx:39](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/WindowVirtualizer.tsx#L39) +[src/solid/WindowVirtualizer.tsx:39](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L39) diff --git a/docs/solid/interfaces/WindowVirtualizerProps.md b/docs/solid/interfaces/WindowVirtualizerProps.md index 5c552c34..2e7bf600 100644 --- a/docs/solid/interfaces/WindowVirtualizerProps.md +++ b/docs/solid/interfaces/WindowVirtualizerProps.md @@ -28,7 +28,7 @@ Get reference to [WindowVirtualizerHandle](WindowVirtualizerHandle.md). #### Defined in -[src/solid/WindowVirtualizer.tsx:49](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/WindowVirtualizer.tsx#L49) +[src/solid/WindowVirtualizer.tsx:55](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L55) *** @@ -40,7 +40,7 @@ The data items rendered by this component. #### Defined in -[src/solid/WindowVirtualizer.tsx:53](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/WindowVirtualizer.tsx#L53) +[src/solid/WindowVirtualizer.tsx:59](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L59) *** @@ -62,7 +62,7 @@ The elements renderer function. #### Defined in -[src/solid/WindowVirtualizer.tsx:57](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/WindowVirtualizer.tsx#L57) +[src/solid/WindowVirtualizer.tsx:63](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L63) *** @@ -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:62](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/WindowVirtualizer.tsx#L62) +[src/solid/WindowVirtualizer.tsx:68](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L68) *** @@ -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:69](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/WindowVirtualizer.tsx#L69) +[src/solid/WindowVirtualizer.tsx:75](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L75) *** @@ -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:73](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/WindowVirtualizer.tsx#L73) +[src/solid/WindowVirtualizer.tsx:79](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L79) *** @@ -119,7 +119,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/solid/WindowVirtualizer.tsx:77](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/WindowVirtualizer.tsx#L77) +[src/solid/WindowVirtualizer.tsx:83](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L83) *** @@ -141,7 +141,7 @@ Current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/solid/WindowVirtualizer.tsx:82](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/WindowVirtualizer.tsx#L82) +[src/solid/WindowVirtualizer.tsx:88](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L88) *** @@ -157,4 +157,4 @@ Callback invoked when scrolling stops. #### Defined in -[src/solid/WindowVirtualizer.tsx:86](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/solid/WindowVirtualizer.tsx#L86) +[src/solid/WindowVirtualizer.tsx:92](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/solid/WindowVirtualizer.tsx#L92) diff --git a/docs/svelte/interfaces/VListHandle.md b/docs/svelte/interfaces/VListHandle.md index fec87670..84e1d6a0 100644 --- a/docs/svelte/interfaces/VListHandle.md +++ b/docs/svelte/interfaces/VListHandle.md @@ -34,7 +34,7 @@ index of item #### Defined in -[src/svelte/Virtualizer.type.ts:99](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L99) +[src/svelte/Virtualizer.type.ts:99](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L99) *** @@ -60,7 +60,7 @@ index of item #### Defined in -[src/svelte/Virtualizer.type.ts:104](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L104) +[src/svelte/Virtualizer.type.ts:104](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L104) *** @@ -90,7 +90,7 @@ options #### Defined in -[src/svelte/Virtualizer.type.ts:110](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L110) +[src/svelte/Virtualizer.type.ts:110](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L110) *** @@ -116,7 +116,7 @@ offset from start #### Defined in -[src/svelte/Virtualizer.type.ts:115](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L115) +[src/svelte/Virtualizer.type.ts:115](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L115) *** @@ -142,7 +142,7 @@ offset from current position #### Defined in -[src/svelte/Virtualizer.type.ts:120](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L120) +[src/svelte/Virtualizer.type.ts:120](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L120) ## Properties @@ -162,7 +162,7 @@ Get current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/svelte/Virtualizer.type.ts:78](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L78) +[src/svelte/Virtualizer.type.ts:78](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L78) *** @@ -182,7 +182,7 @@ Get current scrollHeight, or scrollWidth if horizontal: true. #### Defined in -[src/svelte/Virtualizer.type.ts:82](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L82) +[src/svelte/Virtualizer.type.ts:82](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L82) *** @@ -202,7 +202,7 @@ Get current offsetHeight, or offsetWidth if horizontal: true. #### Defined in -[src/svelte/Virtualizer.type.ts:86](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L86) +[src/svelte/Virtualizer.type.ts:86](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L86) *** @@ -222,7 +222,7 @@ Find the start index of visible range of items. #### Defined in -[src/svelte/Virtualizer.type.ts:90](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L90) +[src/svelte/Virtualizer.type.ts:90](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L90) *** @@ -242,4 +242,4 @@ Find the end index of visible range of items. #### Defined in -[src/svelte/Virtualizer.type.ts:94](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L94) +[src/svelte/Virtualizer.type.ts:94](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L94) diff --git a/docs/svelte/interfaces/VListProps.md b/docs/svelte/interfaces/VListProps.md index 52c625bf..2499f7b3 100644 --- a/docs/svelte/interfaces/VListProps.md +++ b/docs/svelte/interfaces/VListProps.md @@ -28,7 +28,7 @@ The elements renderer snippet. #### Defined in -[src/svelte/Virtualizer.type.ts:16](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L16) +[src/svelte/Virtualizer.type.ts:16](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L16) *** @@ -44,7 +44,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/svelte/Virtualizer.type.ts:51](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L51) +[src/svelte/Virtualizer.type.ts:51](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L51) *** @@ -60,7 +60,7 @@ The data items rendered by this component. #### Defined in -[src/svelte/Virtualizer.type.ts:12](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L12) +[src/svelte/Virtualizer.type.ts:12](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L12) *** @@ -82,7 +82,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/svelte/Virtualizer.type.ts:36](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L36) +[src/svelte/Virtualizer.type.ts:36](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L36) *** @@ -101,7 +101,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/svelte/Virtualizer.type.ts:47](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L47) +[src/svelte/Virtualizer.type.ts:47](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L47) *** @@ -117,7 +117,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/svelte/Virtualizer.type.ts:55](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L55) +[src/svelte/Virtualizer.type.ts:55](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L55) *** @@ -143,7 +143,7 @@ Current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/svelte/Virtualizer.type.ts:64](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L64) +[src/svelte/Virtualizer.type.ts:64](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L64) *** @@ -163,7 +163,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/svelte/Virtualizer.type.ts:68](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L68) +[src/svelte/Virtualizer.type.ts:68](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L68) *** @@ -195,7 +195,7 @@ defaultGetKey (returns index of item) #### Defined in -[src/svelte/Virtualizer.type.ts:21](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L21) +[src/svelte/Virtualizer.type.ts:21](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L21) *** diff --git a/docs/svelte/interfaces/VirtualizerHandle.md b/docs/svelte/interfaces/VirtualizerHandle.md index a3daad20..bf3e9ae0 100644 --- a/docs/svelte/interfaces/VirtualizerHandle.md +++ b/docs/svelte/interfaces/VirtualizerHandle.md @@ -30,7 +30,7 @@ index of item #### Defined in -[src/svelte/Virtualizer.type.ts:99](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L99) +[src/svelte/Virtualizer.type.ts:99](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L99) *** @@ -52,7 +52,7 @@ index of item #### Defined in -[src/svelte/Virtualizer.type.ts:104](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L104) +[src/svelte/Virtualizer.type.ts:104](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L104) *** @@ -78,7 +78,7 @@ options #### Defined in -[src/svelte/Virtualizer.type.ts:110](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L110) +[src/svelte/Virtualizer.type.ts:110](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L110) *** @@ -100,7 +100,7 @@ offset from start #### Defined in -[src/svelte/Virtualizer.type.ts:115](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L115) +[src/svelte/Virtualizer.type.ts:115](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L115) *** @@ -122,7 +122,7 @@ offset from current position #### Defined in -[src/svelte/Virtualizer.type.ts:120](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L120) +[src/svelte/Virtualizer.type.ts:120](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L120) ## Properties @@ -138,7 +138,7 @@ Get current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/svelte/Virtualizer.type.ts:78](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L78) +[src/svelte/Virtualizer.type.ts:78](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L78) *** @@ -154,7 +154,7 @@ Get current scrollHeight, or scrollWidth if horizontal: true. #### Defined in -[src/svelte/Virtualizer.type.ts:82](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L82) +[src/svelte/Virtualizer.type.ts:82](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L82) *** @@ -170,7 +170,7 @@ Get current offsetHeight, or offsetWidth if horizontal: true. #### Defined in -[src/svelte/Virtualizer.type.ts:86](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L86) +[src/svelte/Virtualizer.type.ts:86](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L86) *** @@ -186,7 +186,7 @@ Find the start index of visible range of items. #### Defined in -[src/svelte/Virtualizer.type.ts:90](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L90) +[src/svelte/Virtualizer.type.ts:90](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L90) *** @@ -202,4 +202,4 @@ Find the end index of visible range of items. #### Defined in -[src/svelte/Virtualizer.type.ts:94](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L94) +[src/svelte/Virtualizer.type.ts:94](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L94) diff --git a/docs/svelte/interfaces/VirtualizerProps.md b/docs/svelte/interfaces/VirtualizerProps.md index 53a540ed..fee29707 100644 --- a/docs/svelte/interfaces/VirtualizerProps.md +++ b/docs/svelte/interfaces/VirtualizerProps.md @@ -20,7 +20,7 @@ The data items rendered by this component. #### Defined in -[src/svelte/Virtualizer.type.ts:12](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L12) +[src/svelte/Virtualizer.type.ts:12](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L12) *** @@ -32,7 +32,7 @@ The elements renderer snippet. #### Defined in -[src/svelte/Virtualizer.type.ts:16](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L16) +[src/svelte/Virtualizer.type.ts:16](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L16) *** @@ -60,7 +60,7 @@ defaultGetKey (returns index of item) #### Defined in -[src/svelte/Virtualizer.type.ts:21](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L21) +[src/svelte/Virtualizer.type.ts:21](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L21) *** @@ -78,7 +78,7 @@ Component or element type for container element. #### Defined in -[src/svelte/Virtualizer.type.ts:26](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L26) +[src/svelte/Virtualizer.type.ts:26](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L26) *** @@ -96,7 +96,7 @@ Component or element type for item element. #### Defined in -[src/svelte/Virtualizer.type.ts:31](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L31) +[src/svelte/Virtualizer.type.ts:31](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L31) *** @@ -114,7 +114,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/svelte/Virtualizer.type.ts:36](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L36) +[src/svelte/Virtualizer.type.ts:36](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L36) *** @@ -126,7 +126,7 @@ Reference to the scrollable element. The default will get the direct parent elem #### Defined in -[src/svelte/Virtualizer.type.ts:40](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L40) +[src/svelte/Virtualizer.type.ts:40](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L40) *** @@ -141,7 +141,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/svelte/Virtualizer.type.ts:47](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L47) +[src/svelte/Virtualizer.type.ts:47](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L47) *** @@ -153,7 +153,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/svelte/Virtualizer.type.ts:51](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L51) +[src/svelte/Virtualizer.type.ts:51](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L51) *** @@ -165,7 +165,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/svelte/Virtualizer.type.ts:55](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L55) +[src/svelte/Virtualizer.type.ts:55](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L55) *** @@ -177,7 +177,7 @@ If you put an element before virtualizer, you have to define its height with thi #### Defined in -[src/svelte/Virtualizer.type.ts:59](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L59) +[src/svelte/Virtualizer.type.ts:59](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L59) *** @@ -199,7 +199,7 @@ Current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/svelte/Virtualizer.type.ts:64](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L64) +[src/svelte/Virtualizer.type.ts:64](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L64) *** @@ -215,4 +215,4 @@ Callback invoked when scrolling stops. #### Defined in -[src/svelte/Virtualizer.type.ts:68](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/Virtualizer.type.ts#L68) +[src/svelte/Virtualizer.type.ts:68](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/Virtualizer.type.ts#L68) diff --git a/docs/svelte/interfaces/WindowVirtualizerProps.md b/docs/svelte/interfaces/WindowVirtualizerProps.md index 8c883721..bae2ffed 100644 --- a/docs/svelte/interfaces/WindowVirtualizerProps.md +++ b/docs/svelte/interfaces/WindowVirtualizerProps.md @@ -20,7 +20,7 @@ The data items rendered by this component. #### Defined in -[src/svelte/WindowVirtualizer.type.ts:10](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/WindowVirtualizer.type.ts#L10) +[src/svelte/WindowVirtualizer.type.ts:11](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/WindowVirtualizer.type.ts#L11) *** @@ -32,7 +32,7 @@ The elements renderer snippet. #### Defined in -[src/svelte/WindowVirtualizer.type.ts:14](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/WindowVirtualizer.type.ts#L14) +[src/svelte/WindowVirtualizer.type.ts:15](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/WindowVirtualizer.type.ts#L15) *** @@ -60,7 +60,7 @@ defaultGetKey (returns index of item) #### Defined in -[src/svelte/WindowVirtualizer.type.ts:19](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/WindowVirtualizer.type.ts#L19) +[src/svelte/WindowVirtualizer.type.ts:20](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/WindowVirtualizer.type.ts#L20) *** @@ -78,7 +78,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/svelte/WindowVirtualizer.type.ts:24](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/WindowVirtualizer.type.ts#L24) +[src/svelte/WindowVirtualizer.type.ts:25](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/WindowVirtualizer.type.ts#L25) *** @@ -93,7 +93,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/svelte/WindowVirtualizer.type.ts:31](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/WindowVirtualizer.type.ts#L31) +[src/svelte/WindowVirtualizer.type.ts:32](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/WindowVirtualizer.type.ts#L32) *** @@ -105,7 +105,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/svelte/WindowVirtualizer.type.ts:35](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/WindowVirtualizer.type.ts#L35) +[src/svelte/WindowVirtualizer.type.ts:36](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/WindowVirtualizer.type.ts#L36) *** @@ -117,7 +117,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/svelte/WindowVirtualizer.type.ts:39](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/WindowVirtualizer.type.ts#L39) +[src/svelte/WindowVirtualizer.type.ts:40](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/WindowVirtualizer.type.ts#L40) *** @@ -139,7 +139,7 @@ Current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/svelte/WindowVirtualizer.type.ts:44](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/WindowVirtualizer.type.ts#L44) +[src/svelte/WindowVirtualizer.type.ts:45](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/WindowVirtualizer.type.ts#L45) *** @@ -155,4 +155,4 @@ Callback invoked when scrolling stops. #### Defined in -[src/svelte/WindowVirtualizer.type.ts:48](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/svelte/WindowVirtualizer.type.ts#L48) +[src/svelte/WindowVirtualizer.type.ts:49](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/svelte/WindowVirtualizer.type.ts#L49) diff --git a/docs/vue/classes/VList.md b/docs/vue/classes/VList.md index 07c20f7f..6e137579 100644 --- a/docs/vue/classes/VList.md +++ b/docs/vue/classes/VList.md @@ -50,7 +50,7 @@ index of item #### Defined in -[src/vue/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L58) +[src/vue/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L58) *** @@ -72,7 +72,7 @@ index of item #### Defined in -[src/vue/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L63) +[src/vue/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L63) *** @@ -98,7 +98,7 @@ options #### Defined in -[src/vue/Virtualizer.tsx:69](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L69) +[src/vue/Virtualizer.tsx:69](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L69) *** @@ -120,7 +120,7 @@ offset from start #### Defined in -[src/vue/Virtualizer.tsx:74](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L74) +[src/vue/Virtualizer.tsx:74](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L74) *** @@ -142,7 +142,7 @@ offset from current position #### Defined in -[src/vue/Virtualizer.tsx:79](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L79) +[src/vue/Virtualizer.tsx:79](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L79) ## Properties @@ -328,7 +328,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/vue/VList.tsx:35](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/VList.tsx#L35) +[src/vue/VList.tsx:35](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/VList.tsx#L35) *** @@ -340,7 +340,7 @@ The data items rendered by this component. #### Defined in -[src/vue/VList.tsx:19](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/VList.tsx#L19) +[src/vue/VList.tsx:19](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/VList.tsx#L19) *** @@ -358,7 +358,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/vue/VList.tsx:24](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/VList.tsx#L24) +[src/vue/VList.tsx:24](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/VList.tsx#L24) *** @@ -373,7 +373,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/vue/VList.tsx:31](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/VList.tsx#L31) +[src/vue/VList.tsx:31](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/VList.tsx#L31) *** @@ -385,7 +385,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/vue/VList.tsx:39](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/VList.tsx#L39) +[src/vue/VList.tsx:39](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/VList.tsx#L39) *** @@ -397,7 +397,7 @@ A prop for SSR. If set, the specified amount of items will be mounted in the ini #### Defined in -[src/vue/VList.tsx:43](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/VList.tsx#L43) +[src/vue/VList.tsx:43](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/VList.tsx#L43) *** @@ -415,7 +415,7 @@ Get current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/vue/Virtualizer.tsx:37](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L37) +[src/vue/Virtualizer.tsx:37](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L37) *** @@ -427,7 +427,7 @@ Get current scrollHeight, or scrollWidth if horizontal: true. #### Defined in -[src/vue/Virtualizer.tsx:41](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L41) +[src/vue/Virtualizer.tsx:41](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L41) *** @@ -439,7 +439,7 @@ Get current offsetHeight, or offsetWidth if horizontal: true. #### Defined in -[src/vue/Virtualizer.tsx:45](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L45) +[src/vue/Virtualizer.tsx:45](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L45) *** @@ -455,7 +455,7 @@ Find the start index of visible range of items. #### Defined in -[src/vue/Virtualizer.tsx:49](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L49) +[src/vue/Virtualizer.tsx:49](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L49) *** @@ -471,4 +471,4 @@ Find the end index of visible range of items. #### Defined in -[src/vue/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L53) +[src/vue/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L53) diff --git a/docs/vue/classes/Virtualizer.md b/docs/vue/classes/Virtualizer.md index 1b7c981d..055c38c5 100644 --- a/docs/vue/classes/Virtualizer.md +++ b/docs/vue/classes/Virtualizer.md @@ -50,7 +50,7 @@ index of item #### Defined in -[src/vue/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L58) +[src/vue/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L58) *** @@ -72,7 +72,7 @@ index of item #### Defined in -[src/vue/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L63) +[src/vue/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L63) *** @@ -98,7 +98,7 @@ options #### Defined in -[src/vue/Virtualizer.tsx:69](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L69) +[src/vue/Virtualizer.tsx:69](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L69) *** @@ -120,7 +120,7 @@ offset from start #### Defined in -[src/vue/Virtualizer.tsx:74](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L74) +[src/vue/Virtualizer.tsx:74](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L74) *** @@ -142,7 +142,7 @@ offset from current position #### Defined in -[src/vue/Virtualizer.tsx:79](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L79) +[src/vue/Virtualizer.tsx:79](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L79) ## Properties @@ -328,7 +328,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/vue/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L102) +[src/vue/Virtualizer.tsx:102](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L102) *** @@ -340,7 +340,7 @@ The data items rendered by this component. #### Defined in -[src/vue/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L86) +[src/vue/Virtualizer.tsx:86](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L86) *** @@ -358,7 +358,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/vue/Virtualizer.tsx:91](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L91) +[src/vue/Virtualizer.tsx:91](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L91) *** @@ -373,7 +373,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/vue/Virtualizer.tsx:98](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L98) +[src/vue/Virtualizer.tsx:98](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L98) *** @@ -385,7 +385,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/vue/Virtualizer.tsx:106](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L106) +[src/vue/Virtualizer.tsx:106](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L106) *** @@ -397,7 +397,7 @@ If you put an element before virtualizer, you have to define its height with thi #### Defined in -[src/vue/Virtualizer.tsx:110](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L110) +[src/vue/Virtualizer.tsx:110](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L110) *** @@ -409,7 +409,7 @@ A prop for SSR. If set, the specified amount of items will be mounted in the ini #### Defined in -[src/vue/Virtualizer.tsx:114](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L114) +[src/vue/Virtualizer.tsx:114](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L114) *** @@ -427,7 +427,7 @@ Component or element type for container element. #### Defined in -[src/vue/Virtualizer.tsx:123](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L123) +[src/vue/Virtualizer.tsx:123](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L123) *** @@ -445,7 +445,7 @@ Component or element type for item element. #### Defined in -[src/vue/Virtualizer.tsx:128](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L128) +[src/vue/Virtualizer.tsx:128](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L128) *** @@ -457,7 +457,7 @@ Reference to the scrollable element. The default will get the direct parent elem #### Defined in -[src/vue/Virtualizer.tsx:118](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L118) +[src/vue/Virtualizer.tsx:118](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L118) *** @@ -475,7 +475,7 @@ Get current scrollTop, or scrollLeft if horizontal: true. #### Defined in -[src/vue/Virtualizer.tsx:37](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L37) +[src/vue/Virtualizer.tsx:37](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L37) *** @@ -487,7 +487,7 @@ Get current scrollHeight, or scrollWidth if horizontal: true. #### Defined in -[src/vue/Virtualizer.tsx:41](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L41) +[src/vue/Virtualizer.tsx:41](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L41) *** @@ -499,7 +499,7 @@ Get current offsetHeight, or offsetWidth if horizontal: true. #### Defined in -[src/vue/Virtualizer.tsx:45](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L45) +[src/vue/Virtualizer.tsx:45](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L45) *** @@ -515,7 +515,7 @@ Find the start index of visible range of items. #### Defined in -[src/vue/Virtualizer.tsx:49](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L49) +[src/vue/Virtualizer.tsx:49](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L49) *** @@ -531,4 +531,4 @@ Find the end index of visible range of items. #### Defined in -[src/vue/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/Virtualizer.tsx#L53) +[src/vue/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/Virtualizer.tsx#L53) diff --git a/docs/vue/classes/WindowVirtualizer.md b/docs/vue/classes/WindowVirtualizer.md index ede3f357..d2aad190 100644 --- a/docs/vue/classes/WindowVirtualizer.md +++ b/docs/vue/classes/WindowVirtualizer.md @@ -214,7 +214,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/vue/WindowVirtualizer.tsx:61](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/WindowVirtualizer.tsx#L61) +[src/vue/WindowVirtualizer.tsx:67](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/WindowVirtualizer.tsx#L67) *** @@ -226,7 +226,7 @@ The data items rendered by this component. #### Defined in -[src/vue/WindowVirtualizer.tsx:45](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/WindowVirtualizer.tsx#L45) +[src/vue/WindowVirtualizer.tsx:51](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/WindowVirtualizer.tsx#L51) *** @@ -244,7 +244,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/vue/WindowVirtualizer.tsx:50](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/WindowVirtualizer.tsx#L50) +[src/vue/WindowVirtualizer.tsx:56](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/WindowVirtualizer.tsx#L56) *** @@ -259,7 +259,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/vue/WindowVirtualizer.tsx:57](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/WindowVirtualizer.tsx#L57) +[src/vue/WindowVirtualizer.tsx:63](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/WindowVirtualizer.tsx#L63) *** @@ -271,7 +271,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/vue/WindowVirtualizer.tsx:65](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/WindowVirtualizer.tsx#L65) +[src/vue/WindowVirtualizer.tsx:71](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/WindowVirtualizer.tsx#L71) *** @@ -289,7 +289,7 @@ Component or element type for container element. #### Defined in -[src/vue/WindowVirtualizer.tsx:70](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/WindowVirtualizer.tsx#L70) +[src/vue/WindowVirtualizer.tsx:76](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/WindowVirtualizer.tsx#L76) *** @@ -307,7 +307,7 @@ Component or element type for item element. #### Defined in -[src/vue/WindowVirtualizer.tsx:75](https://github.com/inokawa/virtua/blob/7b801f16c7f1cf5eb033801b816966faaa8a6b18/src/vue/WindowVirtualizer.tsx#L75) +[src/vue/WindowVirtualizer.tsx:81](https://github.com/inokawa/virtua/blob/32f9f6b9c3b95459050bec74dc68e5e83f575685/src/vue/WindowVirtualizer.tsx#L81) *** diff --git a/package-lock.json b/package-lock.json index 9a7aaa0c..da078279 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "virtua", - "version": "0.37.3", + "version": "0.37.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "virtua", - "version": "0.37.3", + "version": "0.37.4", "license": "MIT", "devDependencies": { "@atlaskit/pragmatic-drag-and-drop": "^1.4.0", diff --git a/package.json b/package.json index 22327748..fc7e1325 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "virtua", - "version": "0.37.3", + "version": "0.37.4", "description": "A zero-config, fast and small (~3kB) virtual list (and grid) component for React, Vue, Solid and Svelte.", "main": "lib/index.js", "module": "lib/index.mjs",