2018-08-31 18:04:17 +08:00
|
|
|
|
// Type definitions for iview 3.1.0
|
2018-08-21 08:29:24 +08:00
|
|
|
|
// Project: https://github.com/iview/iview
|
|
|
|
|
// Definitions by: yangdan
|
|
|
|
|
// Definitions: https://github.com/yangdan8/iview.git
|
2019-01-05 22:29:10 +08:00
|
|
|
|
import Vue from 'vue';
|
2018-08-21 08:29:24 +08:00
|
|
|
|
|
2018-09-03 09:15:30 +08:00
|
|
|
|
export declare interface BackTop extends Vue {
|
2018-08-21 08:29:24 +08:00
|
|
|
|
/**
|
|
|
|
|
* 页面滚动高度达到该值时才显示BackTop组件
|
|
|
|
|
* @default 400
|
|
|
|
|
*/
|
|
|
|
|
height?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 组件距离底部的距离
|
|
|
|
|
* @default 30
|
|
|
|
|
*/
|
|
|
|
|
bottom?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 组件距离右部的距离
|
|
|
|
|
* @default 30
|
|
|
|
|
*/
|
|
|
|
|
right?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 滚动动画持续时间,单位 毫秒
|
|
|
|
|
* @default 1000
|
|
|
|
|
*/
|
|
|
|
|
duration?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 点击按钮时触发
|
|
|
|
|
*/
|
|
|
|
|
$emit(eventName: 'on-click'): this;
|
|
|
|
|
}
|