@@ -44,6 +44,7 @@ Description:
44
44
<p v-if =" element.id === this.activeHTML" >Your class is - {{ element.class }}</p >
45
45
<p v-if =" element.id === this.activeHTML" > You've binded to - {{ element.binding }}</p >
46
46
</div >
47
+
47
48
<!-- attribute child's child-->
48
49
<div class =" AttributeContainer" v-for =" element in this.componentMap[this.activeComponent].htmlList"
49
50
:key =" element.id + Date.now()" >
@@ -52,12 +53,12 @@ Description:
52
53
</ul >
53
54
</div >
54
55
55
- <div class =" AttributeContainer" v-for =" element in this.componentMap[this.activeComponent].htmlList"
56
+ <!-- < div class="AttributeContainer" v-for="element in this.componentMap[this.activeComponent].htmlList"
56
57
:key="element.id + Date.now()">
57
58
<ul v-for="element1 in element.children" :key="element1.id + Date.now()">
58
59
<li v-if="element1.id === this.activeHTML">You've binded to - {{ element1.binding }}</li>
59
60
</ul>
60
- </div >
61
+ </div> -->
61
62
62
63
<div class =" formBox" >
63
64
<q-form autofocus v-on:submit.prevent =" submitClass" >
@@ -67,15 +68,15 @@ Description:
67
68
<q-btn id =" comp-btn" class =" sidebar-btn" color =" secondary" label =" Submit Attribute"
68
69
:disable =" classText.length > 0 ? false : true" @click =" submitClass(classText, this.activeHTML)" />
69
70
</q-form >
70
- <q-form autofocus v-on:submit.prevent =" addBinding" >
71
+ <!-- < q-form autofocus v-on:submit.prevent="addBinding">
71
72
<p class="title">Add Binding:</p>
72
73
73
74
<q-input label="Add two way binding here" filled dark autofocus true hide-bottom-space v-model="bindingText"
74
75
@keyup.enter="addBinding"></q-input>
75
76
<q-btn id="comp-btn" class="sidebar-btn" color="secondary" label="Add Binding"
76
77
:disable="bindingText.length > 0 ? false : true" @click="addBinding(bindingText, this.activeHTML)">
77
78
</q-btn>
78
- </q-form >
79
+ </q-form> -->
79
80
<q-btn label =" Close" @click =" this.openAttributeModal" />
80
81
</div >
81
82
</div >
@@ -200,17 +201,17 @@ export default {
200
201
this .addActiveComponentClass (payload);
201
202
this .classText = ' ' ;
202
203
},
203
- addBinding (input , idNum ) {
204
- if (input === ' ' ) {
205
- return ;
206
- }
207
- const payload = {
208
- binding: input,
209
- id: idNum
210
- }
211
- this .addBindingText (payload);
212
- this .bindingText = ' ' ;
213
- },
204
+ // addBinding(input, idNum) {
205
+ // if (input === '') {
206
+ // return;
207
+ // }
208
+ // const payload = {
209
+ // binding: input,
210
+ // id: idNum
211
+ // }
212
+ // this.addBindingText(payload);
213
+ // this.bindingText = '';
214
+ // },
214
215
},
215
216
watch: {
216
217
attributeModalOpen () {
0 commit comments