iview/dist/types/scroll.d.ts

35 lines
919 B
TypeScript
Raw Normal View History

2018-08-31 18:04:17 +08:00
// Type definitions for iview 3.1.0
2018-08-30 18:11:37 +08:00
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
2018-09-03 13:28:21 +08:00
import Vue, { VNode } from 'vue';
2018-08-30 18:11:37 +08:00
2018-09-03 13:28:21 +08:00
export declare interface Scroll extends Vue {
2018-08-30 18:11:37 +08:00
/**
*
* @default 300
*/
height?: string | number;
/**
*
* @default
*/
'loading-text'?: string;
/**
* Promise
*/
'on-reach-top'?: () => void;
/**
* Promise
*/
'on-reach-bottom'?: () => void;
/**
* Promise
*/
'on-reach-edge'?: () => void;
/**
* 24
* @default [20, 20]
*/
'distance-to-edge'?: number | number[];
}