UseScrollToBottom
katanakit-js / useScrollToBottom
Function: useScrollToBottom()
Section titled “Function: useScrollToBottom()”function useScrollToBottom(smooth?): void;Defined in: infrastructure/viewport/viewport.service.ts:182
Scrolls to the bottom of the page.
Parameters
Section titled “Parameters”| Parameter | Type | Default value | Description |
|---|---|---|---|
smooth? |
boolean |
true |
Whether to use smooth scrolling (default: true). |
Returns
Section titled “Returns”void