OnRenderComplete
Type: TSInterface
PROPERTY | TYPE | DESCRIPTION |
---|---|---|
currentTarget | InfiniteGrid | An InfiniteGrid instance that triggered this event. |
mounted | InfiniteGridItem[] | The items rendered for the first time. |
updated | InfiniteGridItem[] | The items updated in size. |
direction | "start" | "end" | The direction InfiniteGrid was rendered. |
isResize | boolean | Whether rendering was done using the resize event or the useResize option. |
startCursor | number | The key of the first group that has been rendered. |
endCursor | number | The key of the last group that has been rendered. |
items | InfiniteGridItem[] | Items that have been rendered. |
groups | InfiniteGridGroup[] | Groups that have been rendered. |