$ui/components/my-back-top

MyBackTop

Source:

Members

(static) props

Source:
Properties:
Name Type Description
props object
Properties
Name Type Attributes Default Description
height number <optional>
400

页面滚动高度达到该值时才显示组件

bottom number <optional>
30

组件距离底部的距离

right number <optional>
30

组件距离右部的距离

duration number <optional>
1000

滚动动画持续时间,单位 毫秒

container html <optional>
window

滚动容器

props