mip-gototop quick return to top
mip-gototop provides a button to support the quick return to the top of the web page to support the quick return to the top function of the web page.
Example
Basic usage
<mip-fixed type="gototop"> <mip-gototop></mip-gototop> </mip-fixed>
Setting the threshold
<mip-fixed type="gototop"> <mip-gototop threshold='300'></mip-gototop> </mip-fixed>
Properties
threshold
Description: The height of the page that has been scrolled when the button is displayed
Required option: No
Value range: Numerical value
Unit: None
Default value: 200