Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/api/virtual-item.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export interface VirtualItem {
start: number
end: number
size: number
lane: number
}
```

Expand Down Expand Up @@ -54,7 +55,7 @@ The ending pixel offset for the item. This value is not necessary for most layou
size: number
```

The size of the item. This is usually mapped to a css property like `width/height`. Before an item is measured with the `VirtualItem.measureElement` method, this will be the estimated size returned from your `estimateSize` virtualizer option. After an item is measured (if you choose to measure it at all), this value will be the number returned by your `measureElement` virtualizer option (which by default is configured to measure elements with `getBoundingClientRect()`).
The size of the item. This is usually mapped to a css property like `width/height`. Before an item is measured with the `Virtualizer.measureElement` method, this will be the estimated size returned from your `estimateSize` virtualizer option. After an item is measured (if you choose to measure it at all), this value will be the number returned by your `measureElement` virtualizer option (which by default is configured to measure elements with `getBoundingClientRect()`).

### `lane`

Expand Down
Loading