comand-component-library 4.0.60 → 4.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<div class="cmd-container">
|
2
|
+
<div class="cmd-container" :class="containerClass">
|
3
3
|
<!-- begin cmd-headline -->
|
4
4
|
<CmdHeadline
|
5
5
|
v-if="cmdHeadline"
|
@@ -63,6 +63,8 @@ export default {
|
|
63
63
|
/**
|
64
64
|
* define content-orientation
|
65
65
|
*
|
66
|
+
* containerType-property must be set to "flex"
|
67
|
+
*
|
66
68
|
* @allowedValues: "vertical", "horizontal"
|
67
69
|
*/
|
68
70
|
contentOrientation: {
|
@@ -105,7 +107,11 @@ export default {
|
|
105
107
|
htmlClass = "grid-container-create-columns"
|
106
108
|
break
|
107
109
|
case "flex":
|
108
|
-
|
110
|
+
if(this.contentOrientation === "horizontal") {
|
111
|
+
htmlClass = "flex-container"
|
112
|
+
} else if(this.contentOrientation === "vertical") {
|
113
|
+
htmlClass = "flex-container vertical"
|
114
|
+
}
|
109
115
|
break
|
110
116
|
default:
|
111
117
|
htmlClass = null
|