col.d.ts
1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { ElementUIComponent } from './component'
/** Responsive column props */
export interface ResponsiveColumnProperties {
/** Number of column the grid spans */
span: number,
/** Number of spacing on the left side of the grid */
offset: number
}
/** Responsive column property */
export type ResponsiveColumn = number | ResponsiveColumnProperties
/** Colunm Layout Component */
export declare class ElCol extends ElementUIComponent {
/** Number of column the grid spans */
span: number
/** Number of spacing on the left side of the grid */
offset: number
/** Number of columns that grid moves to the right */
push: number
/** Number of columns that grid moves to the left */
pull: number
/** <768px Responsive columns or column props object */
xs: ResponsiveColumn
/** ≥768px Responsive columns or column props object */
sm: ResponsiveColumn
/** ≥992px Responsive columns or column props object */
md: ResponsiveColumn
/** ≥1200px Responsive columns or column props object */
lg: ResponsiveColumn
/** ≥1920px Responsive columns or column props object */
xl: ResponsiveColumn
/** custom element tag */
tag: string
}