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

72
dist/types/grid.d.ts vendored Normal file
View file

@ -0,0 +1,72 @@
// 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 Row extends Vue {
/**
* px
* @default 0
*/
gutter?: number;
/**
* flex或不选
*/
type?: string;
/**
* lex topmiddlebottom
*/
align?: 'top'|'middle'|'bottom';
/**
* flex startendcenterspace-aroundspace-between
*/
justify?: 'start'|'end'|'center'|'space-around'|'space-between';
/**
* class名称
*/
'class-name'?: string;
}
export declare class Col extends Vue {
/**
* 0~24 0 相当于display:none
*/
span?: number | string;
/**
* flex布局模式下有效
*/
order?: number | string;
/**
*
*/
offset?: number | string;
/**
*
*/
push?: number | string;
/**
*
*/
pull?: number | string;
/**
* class名称
*/
'class-name'?: string;
/**
* <768px 响应式栅格可为栅格数或一个包含其他属性的对象
*/
xs?: number | object;
/**
* 768px
*/
sm?: number | object;
/**
* 992px
*/
md?: number | object;
/**
* 1200px
*/
lg?: number | object;
}