MIP文檔手冊
/ mip-gototop 快速回頂
mip-gototop 快速回頂
mip-gototop 提供了一個用來支持網(wǎng)頁快速回頂按鈕,用來支持網(wǎng)頁快速回頂功能。
示例
基本使用
<mip-fixed type="gototop"> <mip-gototop></mip-gototop> </mip-fixed>
設(shè)置閾值
<mip-fixed type="gototop"> <mip-gototop threshold='300'></mip-gototop> </mip-fixed>
屬性
threshold
說明:顯示按鈕時頁面已經(jīng)滾動的高度
必選項: 否
取值范圍:數(shù)值
單位:無
默認(rèn)值:200