2017-10-17 16:36:12 +08:00
|
|
|
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
|
|
|
|
|
2017-10-19 15:54:01 +08:00
|
|
|
/** ≥992px Responsive columns or column props object */
|
2017-10-17 16:36:12 +08:00
|
|
|
md: ResponsiveColumn
|
|
|
|
|
2017-10-19 15:54:01 +08:00
|
|
|
/** ≥1200px Responsive columns or column props object */
|
2017-10-17 16:36:12 +08:00
|
|
|
lg: ResponsiveColumn
|
2017-10-18 18:31:03 +08:00
|
|
|
|
2017-10-19 15:54:01 +08:00
|
|
|
/** ≥1920px Responsive columns or column props object */
|
|
|
|
xl: ResponsiveColumn
|
|
|
|
|
2017-10-18 18:31:03 +08:00
|
|
|
/** custom element tag */
|
|
|
|
tag: string
|
2017-10-17 16:36:12 +08:00
|
|
|
}
|