更新d.ts file到3.3.0版本

This commit is contained in:
yang 2019-03-12 11:30:07 +08:00
parent 33b3672e00
commit 6d84588919
60 changed files with 139 additions and 66 deletions

19
types/drawer.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -67,6 +67,15 @@ export declare interface Drawer extends Vue {
* @default false
*/
'inner'?: boolean;
/**
*
* @default false
*/
'draggable'?: boolean;
/**
* Promise
*/
'before-close'?: () => void | PromiseConstructor;
/**
*
*/
@ -75,6 +84,10 @@ export declare interface Drawer extends Vue {
*
*/
$emit(eventName: 'on-visible-change', value: boolean): this;
/**
*
*/
$emit(eventName: 'on-resize-width'): number;
/**
* slot插槽对象
*/
@ -91,5 +104,9 @@ export declare interface Drawer extends Vue {
*
*/
close: VNode[];
/**
*
*/
trigger: VNode[];
};
}