1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
| export const backtopProps = {
| /**
| * @zh_CN bottom distance.
| */
| bottom: {
| default: 40,
| type: Number,
| },
| /**
| * @zh_CN right distance.
| */
| right: {
| default: 40,
| type: Number,
| },
| /**
| * @zh_CN the target to trigger scroll.
| */
| target: {
| default: '',
| type: String,
| },
| /**
| * @zh_CN the button will not show until the scroll height reaches this value.
| */
| visibilityHeight: {
| default: 200,
| type: Number,
| },
| } as const;
|
| export interface BacktopProps {
| bottom?: number;
| isGroup?: boolean;
| right?: number;
| target?: string;
| visibilityHeight?: number;
| }
|
|