useScrollIntoView
function useScrollIntoView(element, options): () => void;
Parameters
| Parameter | Type |
|---|---|
element | RefObject<null | HTMLElement> |
options | { delay?: number; scrollIntoViewOptions?: Partial<ScrollIntoViewOptions>; } |
options.delay? | number |
options.scrollIntoViewOptions? | Partial<ScrollIntoViewOptions> |
Returns
(): void;
Returns
void