BackTop makes it easy to go back to the top of the page.
| Property | Description | Type | Default |
|---|---|---|---|
target | specifies the scrollable area dom node | () => HTMLElement | () => window |
visibilityHeight | the BackTop button will not show until the scroll height reaches this value | number | 400 |
onClick | a callback function, which can be executed when you click the button | Function | - |