Skip to main content

Module footer

Module footer 

Source
Expand description

页脚与回到顶部按钮组件。 页脚组件

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

Re-exports§

pub use Footer_completions::Component::Footer;

Structs§

FooterViewProps 🔒
Properties for the FooterView component.

Functions§

Footer
页脚与回到顶部按钮组件。
FooterView 🔒
页脚共用展示;数据读取与滚动策略由调用方负责。
TopIcon 🔒
scroll_to_top 🔒
平滑滚动到页面顶部,并清理 history 中的 # 哈希。