mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 13:08:48 +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';
|
||||
|
||||
export declare class BackTop extends AntdComponent {
|
||||
/**
|
||||
* specifies the scrollable area dom node
|
||||
* @default () => window
|
||||
* @type Function
|
||||
*/
|
||||
target: () => HTMLElement;
|
||||
$props: {
|
||||
/**
|
||||
* specifies the scrollable area dom node
|
||||
* @default () => window
|
||||
* @type Function
|
||||
*/
|
||||
target?: () => HTMLElement;
|
||||
|
||||
/**
|
||||
* the BackTop button will not show until the scroll height reaches this value
|
||||
* @default 400
|
||||
* @type number
|
||||
*/
|
||||
visibilityHeight: number;
|
||||
/**
|
||||
* the BackTop button will not show until the scroll height reaches this value
|
||||
* @default 400
|
||||
* @type number
|
||||
*/
|
||||
visibilityHeight?: number;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user