Back top

A button to back to top.

Basic usage

Backtop Attributes

NameDescriptionTypeDefault
targetthe target to trigger scrollstring
visibility-heightthe button will not show until the scroll height reaches this valuenumber240
rightright distancenumber24
bottombottom distancenumber24

Backtop Events

NameDescriptionParameters
clicktriggers when click.(evt: MouseEvent) => void

Backtop Slots

NameDescription
defaultcustomize default content.
Last Updated:
Contributors: Tam Mai