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
|
|
|
|
|
|
|
|
import { AntdComponent } from './component';
|
|
|
|
|
|
|
|
export declare class BackTop extends AntdComponent {
|
2020-08-17 09:09:28 +00:00
|
|
|
$props: {
|
|
|
|
/**
|
|
|
|
* 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
|
|
|
}
|