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