iview/types/split.d.ts

68 lines
1.4 KiB
TypeScript
Raw Normal View History

// 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 Split extends Vue {
/**
* 0~1 v-model
* @default 0.5
*/
value?: number | string;
/**
* horizontal vertical
* @default horizontal
*/
mode?: 'horizontal' | 'vertical';
/**
*
* @default 40px
*/
min?: number | string;
/**
*
* @default 40px
*/
max?: number | string;
/**
* -
* @default false
*/
$emit(eventName: 'on-move-start', []): this;
/**
*
*/
$emit(eventName: 'on-moving', []): this;
/**
*
* @default false
*/
$emit(eventName: 'on-move-end', []): this;
/**
* slot插槽对象
*/
$slots: {
/**
* mode horizontal
* @default false
*/
left: VNode[];
/**
* mode horizontal
*/
right: VNode[];
/**
* mode vertical
*/
top: VNode[];
/**
* mode vertical
*/
bottom: VNode[];
/**
*
*/
trigger: VNode[];
}
}