Layout: add xl breakpoint

This commit is contained in:
Leopoldthecoder
2017-10-19 15:54:01 +08:00
committed by 杨奕
parent 457f9f97ed
commit c31f413a4f
17 changed files with 197 additions and 125 deletions

7
types/col.d.ts vendored
View File

@@ -32,12 +32,15 @@ export declare class ElCol extends ElementUIComponent {
/** ≥768px Responsive columns or column props object */
sm: ResponsiveColumn
/** ≥992 Responsive columns or column props object */
/** ≥992px Responsive columns or column props object */
md: ResponsiveColumn
/** ≥1200 Responsive columns or column props object */
/** ≥1200px Responsive columns or column props object */
lg: ResponsiveColumn
/** ≥1920px Responsive columns or column props object */
xl: ResponsiveColumn
/** custom element tag */
tag: string
}

16
types/switch.d.ts vendored
View File

@@ -12,28 +12,28 @@ export declare class ElSwitch extends ElementUIComponent {
width: number
/** Class name of the icon displayed when in on state, overrides on-text */
trueIconClass: string
activeIconClass: string
/** Class name of the icon displayed when in off state, overrides off-text */
falseIconClass: string
inactiveIconClass: string
/** Text displayed when in on state */
trueText: string
activeText: string
/** Text displayed when in off state */
falseText: string
inactiveText: string
/** Background color when in on state */
trueColor: string
activeColor: string
/** Background color when in off state */
falseColor: string
inactiveColor: string
/** Switch value when in on state */
trueValue: string | boolean | number
activeValue: string | boolean | number
/** Switch value when in off state */
falseValue: string | boolean | number
inactiveValue: string | boolean | number
/** Input name of Switch */
name: string