Skip to main content

Module footer

Module footer 

Source
Expand description

页脚组件。 页脚组件

提供站点版权信息,并在用户向下滚动超过一屏后显示“回到顶部“悬浮按钮。 回到顶部的滚动监听与平滑滚动逻辑仅在 WASM 前端生效。

Re-exports§

pub use Footer_completions::Component::Footer;

Functions§

Footer
页脚与回到顶部按钮组件。
scroll_to_top 🔒
平滑滚动到页面顶部,并清理 history 中的 # 哈希。