ScrollTop
Basic Structure
ScrollTop component requires scroll-top
.
<button data-zl="scroll-top toggle-at-[300] speedy">Button</button>
scroll-top
Default scroll back duration is 300ms.
Item | Description |
---|---|
toggle-at-[SCROLL_AMOUNT] (optional) |
Specify a scroll aount(number) between [ and ] where to show the button. Double Quatation is not required. Example
|
Scroll Back Speed |
|
quickly (optional) |
Scroll Back quickly(100ms). Example
|
slowly (optional) |
Scroll Back slowly(500ms). Example
|