ant-design-vue/types/back-top.d.ts
2020-08-31 14:59:56 +08:00

24 lines
644 B
TypeScript

// 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, AntdProps } from './component';
export declare class BackTop extends AntdComponent {
$props: AntdProps & {
/**
* 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;
};
}