This commit is contained in:
梁灏 2018-08-30 18:11:37 +08:00
parent ba9d70c770
commit a3a90be7d5
68 changed files with 6446 additions and 1510 deletions

80
dist/types/transfer.d.ts vendored Normal file
View file

@ -0,0 +1,80 @@
// 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 from 'vue';
export declare class Transfer extends Vue {
/**
* targetKeys
* @default []
*/
data?: object[];
/**
* key集合
* @default []
*/
targetKeys?: string[];
/**
* data
* value?: 默认显示labelkey
*/
'render-format'?: (value?: string) => void;
/**
*
* @default []
*/
'selected-keys'?: string[];
/**
* 穿
* @default {}
*/
'list-style'?: object;
/**
* Array
* @default ['源列表', '目的列表']
*/
titles?: string[];
/**
*
* @default []
*/
operations?: object[];
/**
*
* @default false
*/
filterable?: object[];
/**
*
* @default
*/
'filter-placeholder'?: string;
/**
* data querydata query
* label
*/
'filter-method'?: (value?: string) => void;
/**
*
* @default
*/
'not-found-text'?: string;
/**
*
*/
$emit(eventName: 'on-change', targetKeys: string[], direction: string, moveKeys: string[]): this;
/**
*
*/
$emit(eventName: 'on-selected-change', sourceSelectedKeys: string[], targetSelectedKeys: string[]): this;
/**
* slot插槽对象
*/
$slots: {
/**
*
*/
'': VNode[];
};
}