Module backtop
Module to assign a "Back to Top" button which will display a VueJS component on scrolling down the page (requires feature Element Plus enabled).
How to assign a new module
Parameters
Displays a floating button that appears when the user scrolls down. Clicking it smoothly scrolls the page back to the top.Go to the source code
Preferences required: feature_elementplus
| Parameters | Accepted Values | Description | Default | Since |
|---|---|---|---|---|
bottom |
int | Sets the distance from the bottom of the screen (in px). | 40 | |
sideDistance |
int | Sets the distance from the side edge of the screen (in px). | 40 | |
target |
text | The css selector to trigger scroll. | ||
title |
text | Custom title to disply on the button. | Back to top | |
visibilityHeight |
int | The button will not show until the scroll height reaches this value (in px). | 200 | |
placement |
(blank) left right |
Place the button to the left or right side. | right |
Related Pages
See these pages for information that applies for all modules:
- Module — Overall introduction and overview
- Module Admin — Introduction to the module admin pages for site-wide and individual module settings
- Assigning Modules — How to select a module to configure it
- Module Settings Interface — Interface for configuring individual module settings
- Module Settings Parameters — Explanation of standard parameter settings for modules
- Creating Custom Modules — How to create user modules
- Index of Modules — Links to the documentation of individual modules
- User Modules — How (if the feature is active) users can choose and place their modules
- Mods Type Modules — Links to modules that are installed as components