mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-18 12:11:07 +00:00
add responsive classes
This commit is contained in:
parent
565aab3528
commit
41404aea72
1 changed files with 21 additions and 1 deletions
|
|
@ -19,6 +19,16 @@
|
|||
mdColumnMedium: Boolean,
|
||||
mdColumnLarge: Boolean,
|
||||
mdColumnXlarge: Boolean,
|
||||
mdHideXsmall: Boolean,
|
||||
mdHideSmall: Boolean,
|
||||
mdHideMedium: Boolean,
|
||||
mdHideLarge: Boolean,
|
||||
mdHideXlarge: Boolean,
|
||||
mdShowXsmall: Boolean,
|
||||
mdShowSmall: Boolean,
|
||||
mdShowMedium: Boolean,
|
||||
mdShowLarge: Boolean,
|
||||
mdShowXlarge: Boolean,
|
||||
mdGutter: [Number, Boolean],
|
||||
mdFlex: [Number, Boolean]
|
||||
},
|
||||
|
|
@ -36,7 +46,17 @@
|
|||
'md-column-small': this.mdColumnSmall,
|
||||
'md-column-medium': this.mdColumnMedium,
|
||||
'md-column-large': this.mdColumnLarge,
|
||||
'md-column-xlarge': this.mdColumnXlarge
|
||||
'md-column-xlarge': this.mdColumnXlarge,
|
||||
'md-hide-xsmall': this.mdHideXsmall,
|
||||
'md-hide-small': this.mdHideSmall,
|
||||
'md-hide-medium': this.mdHideMedium,
|
||||
'md-hide-large': this.mdHideLarge,
|
||||
'md-hide-xlarge': this.mdHideXlarge,
|
||||
'md-show-xsmall': this.mdShowXsmall,
|
||||
'md-show-small': this.mdShowSmall,
|
||||
'md-show-medium': this.mdShowMedium,
|
||||
'md-show-large': this.mdShowLarge,
|
||||
'md-show-xlarge': this.mdShowXlarge
|
||||
};
|
||||
|
||||
if (this.mdGutter) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue