iview/types/scroll.d.ts

35 lines
915 B
TypeScript
Raw Normal View History

2018-08-30 13:27:15 +08:00
// Type definitions for iview 3.0.1
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from "vue";
2018-08-30 13:27:15 +08:00
export declare class Scroll extends Vue {
/**
*
* @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[];
}