update the master branch to the latest
This commit is contained in:
parent
67d534df27
commit
23a0ba9831
611 changed files with 122648 additions and 0 deletions
35
types/scroll.d.ts
vendored
Normal file
35
types/scroll.d.ts
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
// Type definitions for iview 3.3.1
|
||||
// Project: https://github.com/iview/iview
|
||||
// Definitions by: yangdan
|
||||
// Definitions: https://github.com/yangdan8/iview.git
|
||||
import Vue, { VNode } from 'vue';
|
||||
|
||||
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[];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue