mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 21:18:14 +08:00
chore: update type backtop (#2691)
This commit is contained in:
parent
10ca7ae8b2
commit
8b19623ca1
26
types/back-top.d.ts
vendored
26
types/back-top.d.ts
vendored
@ -5,17 +5,19 @@
|
|||||||
import { AntdComponent } from './component';
|
import { AntdComponent } from './component';
|
||||||
|
|
||||||
export declare class BackTop extends AntdComponent {
|
export declare class BackTop extends AntdComponent {
|
||||||
/**
|
$props: {
|
||||||
* specifies the scrollable area dom node
|
/**
|
||||||
* @default () => window
|
* specifies the scrollable area dom node
|
||||||
* @type Function
|
* @default () => window
|
||||||
*/
|
* @type Function
|
||||||
target: () => HTMLElement;
|
*/
|
||||||
|
target?: () => HTMLElement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the BackTop button will not show until the scroll height reaches this value
|
* the BackTop button will not show until the scroll height reaches this value
|
||||||
* @default 400
|
* @default 400
|
||||||
* @type number
|
* @type number
|
||||||
*/
|
*/
|
||||||
visibilityHeight: number;
|
visibilityHeight?: number;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user