scrollToNode Method
Scroll to the specified node.
scrollToNode(nodeId: string, alignment?: Alignment): void
Parameter | Type | Description |
---|---|---|
nodeId | string | Id of the target node to scroll to. |
alignment | Alignment | Controls scrolling behavior. See react-window documentation on scrollToItem for details. |
Returns - void
Defined in
Last Updated: 30 November, 2023