MCPcopy Create free account

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

Functions751 in github.com/bvaughn/react-virtualized

↓ 29 callersFunctionrender
(markup: ReactElement)
lib/utils/test/render.ts:50
↓ 19 callersMethodhas
Returns true if the specified cell has already been measured.
lib/components/CellMeasurer/types.ts:16
↓ 14 callersFunctionfindDOMNode
(instance: unknown)
lib/utils/test/render.ts:113
↓ 14 callersMethodset
Stores the measured size of the specified cell.
lib/components/CellMeasurer/types.ts:19
↓ 13 callersMethodgetHeight
Returns the (measured or default) height of the specified cell.
lib/components/CellMeasurer/types.ts:27
↓ 13 callersMethodgetTotalSize
* Total size of all cells being measured. * This value will be completely estimated initially. * As cells are measured, the estimate will be upd
lib/components/Grid/utils/CellSizeAndPositionManager.ts:152
↓ 11 callersMethodscrollToRow
* Ensure the row at the specified index is visible (scrolling if necessary). * This method can be used to safely scroll back to a row that a user h
lib/components/List/types.ts:330
↓ 10 callersFunctionregisterChild
()
lib/components/InfiniteLoader/InfiniteLoader.test.tsx:501
↓ 9 callersFunctioncreateScrollContainer
({ adopt = true, contentOffset = 0, height = 100, left = 0, top = 0, width = 200 }: { adopt?: bo
lib/utils/test/scrollElement.ts:188
↓ 9 callersMethodgetSizeAndPositionOfCell
* This method returns the size and position for the cell at the specified index. * It just-in-time calculates (or used cached values) for cells lea
lib/components/Grid/utils/CellSizeAndPositionManager.ts:94
↓ 9 callersMethodrecomputeGridSize
* Recompute row heights and offsets after the specified row index (defaults to 0); see `Grid#recomputeGridSize`. * (The column index is ignored.) T
lib/components/List/types.ts:296
↓ 8 callersMethodscrollToPosition
* Scroll to the specified vertical offset; `scrollLeft` is ignored (lists don't scroll horizontally). * Offsets are clamped to the scrollable range
lib/components/List/types.ts:315
↓ 7 callersMethodclear
* Reset cached measurements for a specific cell. * * This should be called when a cell needs to be re-measured to handle dynamic content * (e
lib/components/CellMeasurer/types.ts:202
↓ 7 callersFunctionforceUpdate
()
lib/components/Masonry/Masonry.tsx:567
↓ 7 callersFunctionopen
(page: Page, path: string)
integrations/tests/tests/utils.ts:9
↓ 6 callersFunctioncancelAnimationTimeout
(frame: AnimationTimeoutId)
lib/utils/requestAnimationTimeout.ts:7
↓ 6 callersMethodgetWidth
Returns the (measured or default) width of the specified cell.
lib/components/CellMeasurer/types.ts:30
↓ 6 callersFunctionscrollTo
(page: Page, scroller: Scroller, top: number)
integrations/tests/tests/utils.ts:31
↓ 6 callersMethodscrollToCell
* Ensure the specified row is visible (scrolling if necessary); the column index is ignored. * This allows a `List` to be used with `ArrowKeySteppe
lib/components/List/types.ts:302
↓ 6 callersFunctionsetScrollState
(update: Partial<ScrollState>)
lib/components/Grid/Grid.tsx:347
↓ 5 callersFunctionchildren
(params)
lib/components/CellMeasurer/CellMeasurer.test.tsx:112
↓ 5 callersMethodclearAll
* Reset cached measurements for all cells. * * This should be called when a `Grid`, `List` or `Table` needs to reflow its content due to a resiz
lib/components/CellMeasurer/types.ts:210
↓ 5 callersFunctionexpectVisibleRowsRendered
( page: Page, options: Parameters<typeof getRowsInfo>[1] & { exact?: boolean } )
integrations/tests/tests/utils.ts:138
↓ 5 callersFunctiongetObserverCount
(element: Element)
lib/utils/test/mockResizeObserver.ts:65
↓ 5 callersMethodinvalidateCellSizeAfterRender
* Invalidate the size of a row (after the current render has been committed); see `Grid#invalidateCellSizeAfterRender`. * This method is intended f
lib/components/List/types.ts:271
↓ 5 callersFunctionmockResizeObserver
()
lib/utils/test/mockResizeObserver.ts:23
↓ 5 callersFunctionmockWindowScrolling
({ innerHeight = 500, innerWidth = 500, scrollX = 0, scrollY = 0 }: { innerHeight?: number; innerW
lib/utils/test/scrollElement.ts:307
↓ 5 callersMethodscrollToPosition
* Scroll to the specified offset(s) of the scrollable (bottom-right) section; see `Grid#scrollToPosition`. * The fixed rows and columns are kept in
lib/components/MultiGrid/types.ts:169
↓ 4 callersMethod_getOffsetPercentage
({ containerSize, offset, // safe totalSize }: { containerSize: number; offset: number;
lib/components/Grid/utils/ScalingCellSizeAndPositionManager.ts:151
↓ 4 callersFunctioncreateCallbackMemoizer
(requireAllKeys = true)
lib/utils/createCallbackMemoizer.ts:4
↓ 4 callersFunctiongetMarkup
(props: Partial<ListProps> = {})
lib/components/List/List.test.tsx:65
↓ 4 callersFunctiongetMarkup
(props: Partial<GridProps> = {})
lib/components/Grid/Grid.test.tsx:144
↓ 4 callersFunctiongetScrollOffset
(element: ResolvedScrollElement)
lib/utils/scrollElement/dimensions.ts:73
↓ 4 callersFunctiongetScrollTop
(page: Page, scroller: Scroller)
integrations/tests/tests/utils.ts:21
↓ 4 callersMethodgetSizeAndPositionOfLastMeasuredCell
()
lib/components/Grid/utils/CellSizeAndPositionManager.ts:138
↓ 4 callersFunctiongetStyle
(element: Element)
lib/utils/test/scrollElement.ts:43
↓ 4 callersMethodgetTotalSize
See CellSizeAndPositionManager#getTotalSize
lib/components/Grid/utils/ScalingCellSizeAndPositionManager.ts:94
↓ 4 callersMethodgetUpdatedOffsetForIndex
* Determines a new offset that ensures a certain cell is visible, given the current offset. * If the cell is already visible then the current offse
lib/components/Grid/utils/CellSizeAndPositionManager.ts:175
↓ 4 callersMethodhandleScrollEvent
* This method handles a scroll event originating from an external scroll control. * It's an advanced method and should probably not be used unless
lib/components/Grid/types.ts:501
↓ 4 callersMethodhasFixedHeight
Returns true if cells have a fixed height (and a dynamic, measured width).
lib/components/CellMeasurer/types.ts:13
↓ 4 callersMethodhasFixedWidth
Returns true if cells have a fixed width (and a dynamic, measured height).
lib/components/CellMeasurer/types.ts:10
↓ 4 callersFunctiononScroll
(event: UIEvent<HTMLDivElement>)
lib/components/Grid/Grid.tsx:875
↓ 4 callersMethodrecomputeCellPositions
* Resets the internal position cache, synchronously re-computes the positions of all measured cells * (by calling the `cellPositioner` for each of
lib/components/Masonry/types.ts:315
↓ 4 callersFunctionrenderTextContent
(scrollToColumn: number, scrollToRow: number)
lib/components/ArrowKeyStepper/ArrowKeyStepper.test.tsx:15
↓ 4 callersFunctionuseMissingHeightWarning
( componentName: string, height: number | undefined, scrollElement: ScrollElement | null | undefined )
lib/utils/scrollElement/useMissingHeightWarning.ts:5
↓ 4 callersFunctionuseRouteParams
()
integrations/vite/src/utils/searchParams.ts:11
↓ 3 callersMethodcolumnWidth
* Returns the derived width of a column (its widest measured cell) or the default width. * Pass this as the `columnWidth` prop of a `Grid` (or `Mul
lib/components/CellMeasurer/types.ts:217
↓ 3 callersFunctioncreateCellPositioner
({ cellMeasurerCache, columnCount, columnWidth, spacer = 0 }: CreateCellPositionerParams)
lib/components/Masonry/createCellPositioner.ts:11
↓ 3 callersFunctioncreateInnerGridRef
()
lib/utils/createInnerGridRef.ts:38
↓ 3 callersFunctiondefaultCellRangeRenderer
({ cellCache, cellRenderer, columnSizeAndPositionManager, columnStartIndex, columnStopIndex, defer
lib/components/Grid/defaultCellRangeRenderer.ts:14
↓ 3 callersFunctionexpectScrollTop
( page: Page, scroller: Scroller, expected: number )
integrations/tests/tests/utils.ts:159
↓ 3 callersMethodforceUpdate
* Forcefully re-render the `Grid` (and its visible cells), * e.g. because the data rendered by `cellRenderer` has changed but the `Grid`'s props ha
lib/components/Grid/types.ts:475
↓ 3 callersMethodforceUpdateGrid
* Forcefully re-render the inner `Grid` component. * * Re-rendering a `List` with the same props does not re-render its rows (both `List` and th
lib/components/List/types.ts:252
↓ 3 callersMethodgetCellCount
()
lib/components/Grid/utils/CellSizeAndPositionManager.ts:74
↓ 3 callersFunctiongetMountNode
()
lib/utils/test/render.ts:25
↓ 3 callersMethodgetOffsetForCell
* Gets offsets for a given cell and alignment (see `scrollToCell` for the alignment values). * The alignment defaults to "auto"; an index of `-1` (
lib/components/Grid/types.ts:481
↓ 3 callersFunctiongetPositionOffset
( element: Element, container: ResolvedScrollElement )
lib/utils/scrollElement/dimensions.ts:46
↓ 3 callersFunctiongetScrollbarSizes
({ autoContainerWidth, height, isLinked, scrollbarSize, totalColumnsWidth, totalRowsHeight, widt
lib/components/Grid/utils/getScrollbarSizes.ts:5
↓ 3 callersFunctiongetUpdatedOffsetForIndex
({ align = "auto", cellOffset, cellSize, containerSize, currentOffset }: { align?: "auto" | "end"
lib/utils/getUpdatedOffsetForIndex.ts:14
↓ 3 callersMethodgetVisibleCellRange
(params: GetVisibleCellRangeParams)
lib/components/Grid/utils/CellSizeAndPositionManager.ts:215
↓ 3 callersFunctionisWindow
(element: ResolvedScrollElement)
lib/utils/scrollElement/dimensions.ts:18
↓ 3 callersMethodmeasureAllCells
* Pass-thru that calls `measureAllCells` on all child `Grid`s.
lib/components/MultiGrid/types.ts:141
↓ 3 callersMethodmeasureAllCells
* Pre-measure all columns and rows in a `Grid`. * * Typically cells are only measured as needed and estimated sizes are used for cells that have
lib/components/Grid/types.ts:516
↓ 3 callersFunctionoverscanIndicesGetter
({ startIndex, stopIndex }: OverscanIndicesGetterParams)
lib/components/List/List.test.tsx:55
↓ 3 callersFunctionparsePixels
(value: string)
lib/utils/test/scrollElement.ts:38
↓ 3 callersMethodrecomputeGridSize
* Recompute row heights and offsets after the specified row index (defaults to 0); see `Grid#recomputeGridSize`. * (The column index is ignored.) T
lib/components/Table/types.ts:562
↓ 3 callersMethodrecomputeGridSize
* Pass-thru that calls `recomputeGridSize` on all child `Grid`s * (adjusting the specified indices for fixed rows and columns). * Both indices d
lib/components/MultiGrid/types.ts:151
↓ 3 callersMethodrecomputeRowHeights
* Recompute row heights and offsets after the specified index (defaults to 0). * * `List` has no way of knowing when its underlying list data ha
lib/components/List/types.ts:290
↓ 3 callersFunctionregisterScrollListener
( listener: ScrollElementListener, element: ResolvedScrollElement )
lib/utils/scrollElement/scrollListeners.ts:86
↓ 3 callersMethodrender
()
lib/components/Grid/Grid.test.tsx:3196
↓ 3 callersFunctionrequestAnimationTimeout
( callback: () => void, delay: number )
lib/utils/requestAnimationTimeout.ts:16
↓ 3 callersMethodresetCell
* Clear all cached values for cells after the specified index. * This method should be called for any cell that has changed its size. * It will
lib/components/Grid/utils/CellSizeAndPositionManager.ts:250
↓ 3 callersMethodresetLoadMoreRowsCache
* Reset any cached data about already-loaded rows. * This method should be called if any/all loaded data needs to be refetched (e.g. a filtered lis
lib/components/InfiniteLoader/types.ts:121
↓ 3 callersMethodrowHeight
* Returns the derived height of a row (its tallest measured cell) or the default height. * Pass this as the `rowHeight` prop of a `Grid`, `List` or
lib/components/CellMeasurer/types.ts:264
↓ 3 callersMethodscrollToCell
* Ensure the specified row is visible (scrolling if necessary); the column index is ignored. * This allows a `Table` to be used with `ArrowKeyStepp
lib/components/Table/types.ts:568
↓ 3 callersMethodscrollToCell
* Ensure the specified column and/or row is visible (scrolling if necessary). * This method can be used to safely scroll back to a cell that a user
lib/components/Grid/types.ts:545
↓ 3 callersFunctionuseScrollElementLink
( scrollElement: ScrollElement | null | undefined, target: ScrollElementLinkTarget, scrollingResetTimeIn
lib/utils/scrollElement/useScrollElementLink.ts:166
↓ 2 callersMethod_binarySearch
(high: number, low: number, offset: number)
lib/components/Grid/utils/CellSizeAndPositionManager.ts:254
↓ 2 callersMethod_findNearestCell
* Searches for the cell (index) nearest the specified offset. * * If no exact match is found the next lowest cell index will be returned. * T
lib/components/Grid/utils/CellSizeAndPositionManager.ts:299
↓ 2 callersMethod_safeOffsetToOffset
({ containerSize, offset // safe }: ContainerSizeAndOffset)
lib/components/Grid/utils/ScalingCellSizeAndPositionManager.ts:185
↓ 2 callersMethod_updateCachedColumnAndRowSizes
( rowIndex: number, columnIndex: number, incremental: { height: boolean; width: boolean } = {
lib/components/CellMeasurer/CellMeasurerCache.ts:283
↓ 2 callersMethodareOffsetsAdjusted
()
lib/components/Grid/utils/CellSizeAndPositionManager.ts:61
↓ 2 callersFunctioncellPositioner
(index: number)
lib/components/Masonry/createCellPositioner.ts:21
↓ 2 callersMethodconfigure
({ cellCount, estimatedCellSize, cellSizeGetter }: ConfigureParams)
lib/components/Grid/utils/CellSizeAndPositionManager.ts:65
↓ 2 callersFunctioncreateCellMeasurerCache
(props: CellMeasurerCacheParams = {})
lib/components/Masonry/Masonry.test.tsx:45
↓ 2 callersFunctioncreateCellRenderer
( cache: CellMeasurerCache, renderCallback?: (index: number, params: MasonryCellRendererParams) => any )
lib/components/Masonry/Masonry.test.tsx:63
↓ 2 callersFunctioncreateMultiSort
( sortCallback: MultiSortCallback, { defaultSortBy, defaultSortDirection = {} }: MultiSortOptions = {} )
lib/components/Table/createMultiSort.ts:23
↓ 2 callersFunctiondebounceResetIsScrolling
()
lib/components/Masonry/Masonry.tsx:460
↓ 2 callersFunctiondefaultCellRenderer
({ columnIndex, key, rowIndex, style }: Pick<CellRendererParams, "columnIndex" | "key" | "ro
lib/components/Grid/Grid.test.tsx:71
↓ 2 callersFunctiondispatchWindowScroll
Dispatches a scroll event to the window (without `act()`).
lib/utils/test/scrollElement.ts:293
↓ 2 callersFunctionenablePointerEventsIfDisabled
()
lib/utils/scrollElement/scrollListeners.ts:32
↓ 2 callersMethodestimateTotalHeight
( cellCount: number, columnCount: number, defaultCellHeight: number )
lib/components/Masonry/PositionCache.ts:21
↓ 2 callersMethodforceUpdate
* Forcefully re-renders the `Masonry` (and its visible cells). * * Re-rendering a `Masonry` with the same props does not re-render its cells (it
lib/components/Masonry/types.ts:300
↓ 2 callersMethodforceUpdateGrids
* Pass-thru that calls `forceUpdate` on all child `Grid`s.
lib/components/MultiGrid/types.ts:129
↓ 2 callersFunctionforceUpdateReactVirtualizedComponent
( component: InfiniteLoaderChildInstance, currentIndex: number = 0 )
lib/components/InfiniteLoader/utils.ts:125
↓ 2 callersFunctiongetBoundingBox
(element: Element)
lib/utils/scrollElement/dimensions.ts:21
↓ 2 callersFunctiongetCalculatedScrollLeft
( alignment: Alignment, scrollToColumn: number, currentScrollLeft: number )
lib/components/Grid/Grid.tsx:365
↓ 2 callersFunctiongetCalculatedScrollTop
( alignment: Alignment, scrollToRow: number, currentScrollTop: number )
lib/components/Grid/Grid.tsx:409
↓ 2 callersFunctiongetColumnWidth
(columnIndex: number)
lib/components/MultiGrid/MultiGrid.test.tsx:1133
↓ 2 callersFunctiongetCurrentScrollTop
()
lib/components/Grid/Grid.tsx:484
next →1–100 of 751, ranked by callers