MCPcopy Create free account

hub / github.com/bvaughn/react-window / functions

Functions364 in github.com/bvaughn/react-window

↓ 24 callersFunctionuseDynamicRowHeight
({ defaultRowHeight, initialRowHeights, key }: { /** * Estimated height (in pixels) of rows that ha
lib/components/list/useDynamicRowHeight.ts:23
↓ 10 callersFunctiongetOwnerWindow
( element: Element | null | undefined )
lib/utils/getOwnerWindow.ts:1
↓ 7 callersFunctionassert
( expectedCondition: unknown, message: string = "Assertion error" )
lib/utils/assert.ts:1
↓ 7 callersMethodobserve
(element: HTMLElement)
lib/utils/test/mockResizeObserver.ts:84
↓ 7 callersFunctionsetDefaultElementSize
({ height, width }: { height: number; width: number; })
lib/utils/test/mockResizeObserver.ts:18
↓ 6 callersFunctioncreateCachedBounds
({ itemCount, itemProps, itemSize }: { itemCount: number; itemProps: Props; itemSize: number | Siz
lib/core/createCachedBounds.ts:4
↓ 6 callersFunctionsettle
( page: Page, { maxFrames = 60, minFrames = 3, stableFrames = 5 }: { maxFrames?: number; min
integrations/tests/tests/settle.ts:10
↓ 6 callersFunctionuseContacts
()
src/routes/grid/hooks/useContacts.ts:6
↓ 6 callersFunctionuseVirtualizer
({ containerElement, containerStyle, defaultContainerSize = 0, defaultScrollOffset = 0, direction,
lib/core/useVirtualizer.ts:30
↓ 5 callersFunctioncreateElementInOtherWindow
()
lib/utils/test/createElementInOtherWindow.ts:5
↓ 5 callersMethoddisconnect
()
lib/utils/test/mockResizeObserver.ts:97
↓ 5 callersFunctiongetEstimatedSize
({ cachedBounds, itemCount, itemSize }: { cachedBounds: CachedBounds; itemCount: number; itemSize:
lib/core/getEstimatedSize.ts:4
↓ 5 callersFunctionisWindow
(target: ScrollTarget)
lib/utils/scrollElement.ts:14
↓ 5 callersFunctionsetElementSize
({ element, height, width }: { element: HTMLElement; height: number; width: number; })
lib/utils/test/mockResizeObserver.ts:36
↓ 5 callersFunctionshallowCompare
( a: Type | undefined, b: Type | undefined )
lib/utils/shallowCompare.ts:3
↓ 5 callersFunctionuseStableCallback
( fn: ((...args: Args) => Return) | undefined )
lib/hooks/useStableCallback.ts:11
↓ 4 callersFunctioncreateElement
(attributes: Record<string, string> = {})
lib/components/list/getRowElements.test.ts:4
↓ 4 callersFunctioncreateElement
(attributes: Record<string, string>)
lib/core/itemIndex.test.ts:9
↓ 4 callersFunctiongetItemIndex
(element: Element)
lib/core/itemIndex.ts:15
↓ 4 callersFunctiongetResizeObserverClass
( element: Element )
lib/utils/getResizeObserverClass.ts:3
↓ 4 callersFunctionmockLayout
(getLayout: GetLayout)
lib/utils/test/mockLayout.ts:17
↓ 4 callersFunctionuseIsScrolling
( target: "window" | HTMLElement | null | undefined, { delay = 150 }: { /** * Milliseconds
lib/hooks/useIsScrolling.ts:20
↓ 4 callersFunctionuseVirtualizer
({ count, defaultScrollOffset = 0, defaultSize = 0, dir, direction = "vertical", element, itemSi
lib/components/virtualizer/useVirtualizer.ts:22
↓ 3 callersFunctionadjustScrollOffsetForRtl
({ containerElement, direction, isRtl, scrollOffset }: { containerElement: HTMLElement | null; dir
lib/utils/adjustScrollOffsetForRtl.ts:4
↓ 3 callersFunctionget
(id: string)
lib/utils/observePrecedingContent.test.ts:41
↓ 3 callersFunctiongetOffsetForIndex
({ align, cachedBounds, clamp = true, index, itemCount, itemSize, containerScrollOffset, conta
lib/core/getOffsetForIndex.ts:5
↓ 3 callersFunctiongetScrollPadding
({ direction, isRtl, scrollTarget, viewportSize }: { direction: Direction; isRtl: boolean; scrol
lib/utils/scrollElement.ts:174
↓ 3 callersFunctiongetStartStopIndices
({ cachedBounds, containerScrollOffset, containerSize, itemCount, overscanCount }: { cachedBounds:
lib/core/getStartStopIndices.ts:3
↓ 3 callersFunctionindexToColumn
(columnIndex: number)
src/routes/grid/examples/shared.ts:18
↓ 3 callersFunctionmockWindowScroll
({ height, width }: { height: number; width: number; })
lib/utils/test/mockLayout.ts:57
↓ 3 callersFunctionscrollTargetTo
( target: ScrollTarget | null, options: ScrollToOptions )
lib/utils/scrollElement.ts:54
↓ 3 callersFunctionsetElementSizeFunction
(value: GetDOMRect)
lib/utils/test/mockResizeObserver.ts:30
↓ 3 callersFunctionsimulateUnsupportedEnvironmentForTest
()
lib/utils/test/mockResizeObserver.ts:50
↓ 3 callersFunctionstop
()
src/routes/components/animated/AnimatedList.tsx:96
↓ 3 callersMethodunobserve
(element: HTMLElement)
lib/utils/test/mockResizeObserver.ts:93
↓ 3 callersFunctionupdate
(progress: number)
src/routes/components/animated/AnimatedList.tsx:45
↓ 3 callersFunctionuseIsRtl
( element: HTMLElement | null, dir: HTMLAttributes<HTMLElement>["dir"] )
lib/core/useIsRtl.ts:5
↓ 3 callersFunctionuseMemoizedObject
( unstableObject: Type )
lib/hooks/useMemoizedObject.ts:4
↓ 3 callersFunctionuseResizeObserver
({ box, defaultHeight, defaultWidth, disabled: disabledProp, element, mode, style }: { box?: R
lib/hooks/useResizeObserver.ts:6
↓ 2 callersMethod#notify
(elements: HTMLElement[])
lib/utils/test/mockResizeObserver.ts:104
↓ 2 callersFunctiondisableResizeObserverForCurrentTest
()
lib/utils/test/mockResizeObserver.ts:14
↓ 2 callersFunctiongetParams
()
integrations/vite/src/routes/ScrollElement.tsx:15
↓ 2 callersFunctiongetRTLOffsetType
( recalculate: boolean = false, ownerDocument: Document = document )
lib/utils/getRTLOffsetType.ts:15
↓ 2 callersFunctiongetRowBounds
( browser: Browser, url: string, { javaScriptEnabled }: { javaScriptEnabled: boolean } )
integrations/tests/tests/server-rendering.spec.tsx:6
↓ 2 callersFunctiongetRowElements
({ elements, isFlowLayout, rowCount, startIndex, stopIndex }: { elements: Element[]; isFlowLayou
lib/components/list/getRowElements.ts:9
↓ 2 callersFunctiongetScrollPosition
( target: ScrollTarget, direction: Direction )
lib/utils/scrollElement.ts:30
↓ 2 callersFunctiongetScrollbarSize
( recalculate: boolean = false, ownerDocument: Document | undefined = typeof document !== "undefined"
lib/utils/getScrollbarSize.ts:4
↓ 2 callersFunctionisSelfScrolling
( containerElement: HTMLElement, direction: Direction )
lib/utils/scrollElement.ts:67
↓ 2 callersFunctionmockScrollPadding
( getScrollPadding: (element: Element) => ScrollPadding | undefined )
lib/utils/test/mockScrollPadding.ts:14
↓ 2 callersFunctionobservePrecedingContent
({ container, element, onChange }: { container: Element; element: Element; onChange: () => void; }
lib/utils/observePrecedingContent.ts:20
↓ 2 callersFunctionparseNumericStyleValue
( value: CSSProperties["height"] )
lib/utils/parseNumericStyleValue.ts:3
↓ 2 callersFunctionrowKey
(index: number, { data }: { data: string[] })
lib/virtualization.test.tsx:112
↓ 2 callersFunctionuseAddresses
()
src/routes/tables/hooks/useAddresses.ts:6
↓ 2 callersFunctionuseAfterResizeObserverNotifications
({ callback, element, enabled = true }: { callback: () => void; element: HTMLElement | null; enabl
lib/hooks/useAfterResizeObserverNotifications.ts:12
↓ 2 callersFunctionuseCachedBounds
({ itemCount, itemProps, itemSize }: { itemCount: number; itemProps: Props; itemSize: number | Siz
lib/core/useCachedBounds.ts:5
↓ 2 callersFunctionuseChatMessages
()
src/routes/list/hooks/useChatMessages.ts:3
↓ 2 callersFunctionuseCitiesByState
()
src/routes/list/hooks/useCitiesByState.ts:8
↓ 2 callersFunctionuseIsHydrating
()
lib/hooks/useIsHydrating.ts:11
↓ 2 callersFunctionuseItemSize
({ containerSize, itemSize: itemSizeProp }: { containerSize: number; itemSize: number | string | SizeF
lib/core/useItemSize.ts:4
↓ 2 callersFunctionuseScrollToIndex
({ direction, element, getCellBounds, isDynamicSize, itemCount, itemElements, scrollTarget, ge
lib/core/useScrollToIndex.ts:32
↓ 1 callersFunctionassertRenderedBy
(page: Page, type: "client" | "server")
integrations/tests/tests/layout-shift.spec.tsx:5
↓ 1 callersFunctionbounds
(page: Page, index: number)
integrations/tests/tests/dynamic-scroll.spec.tsx:10
↓ 1 callersFunctionchangeContentAbove
( page: Page, detail: { height?: number; insert?: boolean } )
integrations/tests/tests/scroll-element.spec.tsx:409
↓ 1 callersFunctionclampOffset
(offset: number)
lib/core/getOffsetForIndex.ts:43
↓ 1 callersFunctioncountCells
(html: string)
lib/ssr.test.tsx:43
↓ 1 callersFunctioncountRows
(html: string)
lib/ssr.test.tsx:39
↓ 1 callersFunctioncreateElement
()
lib/hooks/useIsScrolling.test.ts:12
↓ 1 callersFunctioncreateInitialMap
( initialRowHeights: ReadonlyMap<number, number> | readonly number[] | undefined )
lib/components/list/useDynamicRowHeight.ts:8
↓ 1 callersFunctioncreateItems
()
src/routes/ScratchpadRoute.tsx:110
↓ 1 callersFunctioncreateRow
(index: number, rowCount: number = 10)
lib/components/list/getRowElements.test.ts:12
↓ 1 callersFunctioncreateRowElement
(index: number)
lib/components/list/useDynamicRowHeight.test.ts:266
↓ 1 callersFunctioncreateSchedule
(messages: ChatMessage[])
src/routes/list/hooks/useStreamingChatMessages.ts:19
↓ 1 callersFunctioncreateTestHelper
(align: Align)
lib/core/getOffsetForIndex.test.ts:80
↓ 1 callersFunctiondecode
(stringified: string)
integrations/tests/src/utils/serializer/decode.ts:17
↓ 1 callersFunctiondecodeChildren
(children: EncodedElement[])
integrations/tests/src/utils/serializer/decode.ts:23
↓ 1 callersFunctiondecodeList
( json: EncodedListElement )
integrations/tests/src/utils/serializer/decode.ts:53
↓ 1 callersFunctiondecodeRowComponent
( json: EncodedRowComponentElement )
integrations/tests/src/utils/serializer/decode.ts:62
↓ 1 callersFunctiondecodeText
(json: EncodedTextElement)
integrations/tests/src/utils/serializer/decode.ts:71
↓ 1 callersFunctioneaseInOut
(t: number)
src/routes/components/animated/AnimatedList.tsx:158
↓ 1 callersFunctioneaseOutCubic
(t: number)
lib/core/useScrollToIndex.ts:18
↓ 1 callersFunctionencodeChildren
(children: ReactElement<unknown>[])
integrations/tests/src/utils/serializer/encode.ts:22
↓ 1 callersFunctionencodeList
( element: ReactElement<ListProps<RowComponentData>> )
integrations/tests/src/utils/serializer/encode.ts:61
↓ 1 callersFunctionencodeRowComponent
( element: ReactElement<RowComponentProps<RowComponentData>> )
integrations/tests/src/utils/serializer/encode.ts:70
↓ 1 callersFunctionencodeTextChild
(element: ReactElement<TextProps>)
integrations/tests/src/utils/serializer/encode.ts:79
↓ 1 callersFunctionfetchPage
(page: number, pageSize: number)
src/routes/infinite-loading/examples/fetchPage.ts:6
↓ 1 callersFunctionflushMutations
()
lib/utils/observePrecedingContent.test.ts:6
↓ 1 callersFunctiongetContrastColor
(hex: string)
lib/utils/colors/getContrastColor.ts:1
↓ 1 callersFunctiongetFirstRow
()
lib/hydration.test.tsx:357
↓ 1 callersFunctiongetGridState
(page: Page)
integrations/tests/tests/scroll-element.spec.tsx:229
↓ 1 callersFunctiongetIndices
({ containerScrollOffset, containerSize, itemCount, itemSize, overscanCount = 0 }: {
lib/core/getStartStopIndices.test.ts:6
↓ 1 callersFunctiongetListCoverage
(page: Page, scrollerSelector?: string)
integrations/tests/tests/scroll-element.spec.tsx:7
↓ 1 callersFunctiongetListTop
(page: Page)
integrations/tests/tests/scroll-element.spec.tsx:420
↓ 1 callersFunctiongetMaxScrollPosition
( target: ScrollTarget, direction: Direction )
lib/utils/scrollElement.ts:41
↓ 1 callersFunctiongetOffset
({ clamp, containerScrollOffset, containerSize, padding }: { cla
lib/core/useVirtualizer.ts:430
↓ 1 callersFunctiongetProgress
(time: number)
src/routes/components/animated/AnimatedList.tsx:163
↓ 1 callersFunctiongetRenderedCells
()
lib/scrollElement.test.tsx:48
↓ 1 callersFunctiongetRenderedItems
()
lib/components/virtualizer/useVirtualizer.test.tsx:43
↓ 1 callersFunctiongetRenderedRows
()
lib/scrollElement.test.tsx:41
↓ 1 callersFunctiongetRowCenter
(page: Page, index: number, isWindow: boolean)
integrations/tests/tests/headless.spec.tsx:45
↓ 1 callersFunctiongetRowTop
(page: Page, index: number, scrollerSelector?: string)
integrations/tests/tests/scroll-element.spec.tsx:72
next →1–100 of 364, ranked by callers