From 7d7df8ff996cf05ce7bb66d1cd60a47e4957a3d5 Mon Sep 17 00:00:00 2001 From: szymon Date: Thu, 11 Jan 2024 12:35:13 +0100 Subject: [PATCH] add seciotn wybor --- src/components/PagebuilderSection.vue | 35 +++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/src/components/PagebuilderSection.vue b/src/components/PagebuilderSection.vue index 1be9cdb..06a491d 100644 --- a/src/components/PagebuilderSection.vue +++ b/src/components/PagebuilderSection.vue @@ -42,6 +42,30 @@ >
+
+ +
+
+ +
+
+ +
+
+
+
@@ -90,7 +114,7 @@ export default { PagebuilderContent }, data: function () { - return { items: grid, value2: '', show_settings: false } + return { items: grid, value2: '', show_settings: false, type: '' } }, methods: { changeSelect: function () { @@ -114,9 +138,16 @@ export default { }, rand: function (index) { return 'column' + index + Math.random() * 100 + }, + setType: function (type) { + this.type = type + this.value.type = type + this.onChange() } }, - mounted: function () {} + mounted: function () { + this.type = this.value.type + } }