2019-01-01 04:13:51 +00:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
2020-08-31 06:59:56 +00:00
|
|
|
import { AntdComponent, AntdProps } from './component';
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
export declare class BackTop extends AntdComponent {
|
2020-08-31 06:59:56 +00:00
|
|
|
$props: AntdProps & {
|
2020-08-17 09:09:28 +00:00
|
|
|
/**
|
|
|
|
* specifies the scrollable area dom node
|
|
|
|
* @default () => window
|
|
|
|
* @type Function
|
|
|
|
*/
|
|
|
|
target?: () => HTMLElement;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
2020-08-17 09:09:28 +00:00
|
|
|
/**
|
|
|
|
* the BackTop button will not show until the scroll height reaches this value
|
|
|
|
* @default 400
|
|
|
|
* @type number
|
|
|
|
*/
|
|
|
|
visibilityHeight?: number;
|
|
|
|
};
|
2019-01-12 03:33:27 +00:00
|
|
|
}
|