mip-gototop 提供了一个用来支持网页快速回顶按钮,用来支持网页快速回顶功能。

示例
基本使用
<mip-fixed type="gototop">
<mip-gototop></mip-gototop>
</mip-fixed>
设置阈值
<mip-fixed type="gototop">
<mip-gototop threshold='300'></mip-gototop>
</mip-fixed>
属性
threshold
说明:显示按钮时页面已经滚动的高度
必选项: 否
取值范围:数值
单位:无
默认值:200