@@ -29,67 +29,6 @@ Description:
2929 </div >
3030 </div >
3131 </div >
32- <<<<<<< HEAD
33-
34- <!-- attribute pop-up -->
35- <q-dialog v-model =" attributeModal" >
36- <!-- @update:model-value="setActiveElement" -->
37- <div class =" AttributeBox" >
38- <p class =" title" >Add attributes to: {{ this.activeComponent }}</p >
39- <!-- attribute child-->
40- <div class =" AttributeContainer" v-for =" element in this.componentMap[this.activeComponent].htmlList"
41- :key =" element.id + Date.now()" >
42- <p v-if =" element.id === this.activeHTML" >Your class is - {{ element.class }}</p >
43- <p v-if =" element.id === this.activeHTML" > You've binded to - {{ element.binding }}</p >
44- </div >
45-
46- <!-- attribute child's child-->
47- <div class =" AttributeContainer" v-for =" element in this.componentMap[this.activeComponent].htmlList"
48- :key =" element.id + Date.now()" >
49- <ul v-for =" element1 in element.children" :key =" element1.id + Date.now()" >
50- <li v-if =" element1.id === this.activeHTML" >Your class is - {{ element1.class }}</li >
51- </ul >
52- </div >
53-
54- <div class =" AttributeContainer" v-for =" element in this.componentMap[this.activeComponent].htmlList"
55- :key =" element.id + Date.now()" >
56- <ul v-for =" element1 in element.children" :key =" element1.id + Date.now()" >
57- <li v-if =" element1.id === this.activeHTML" >You've binded to - {{ element1.binding }}</li >
58- </ul >
59- </div >
60-
61- <!-- attribute child's child-->
62- <div class =" AttributeContainer" v-for =" element in this.componentMap[this.activeComponent].htmlList"
63- :key =" element.id + Date.now()" >
64- <ul v-for =" element1 in element.children"
65- :key =" element1.id + Date.now()" >
66- <li v-if =" element1.id === this.activeHTML" >Your class is - {{ element1.class }}</li >
67- </ul >
68- </div >
69-
70- <div class =" formBox" >
71- <q-form autofocus v-on:submit.prevent =" submitClass" >
72- <p class =" title" >Add Class Name:</p >
73- <q-input label =" Add your class here" filled dark autofocus true hide-bottom-space v-model =" classText"
74- @keydown.enter =" submitClass(classText, this.activeHTML)" />
75- <q-btn id =" comp-btn" class =" sidebar-btn" color =" secondary" label =" Submit Attribute"
76- :disable =" classText.length > 0 ? false : true" @click =" submitClass(classText, this.activeHTML)" />
77- </q-form >
78- <q-form autofocus v-on:submit.prevent =" addBinding" >
79- <p class =" title" >Add Binding:</p >
80-
81- <q-input label =" Add two way binding here" filled dark autofocus true hide-bottom-space v-model =" bindingText"
82- @keydown.enter =" addBinding(bindingText, this.activeHTML)" ></q-input >
83- <q-btn id =" comp-btn" class =" sidebar-btn" color =" secondary" label =" Add Binding"
84- :disable =" bindingText.length > 0 ? false : true" @click =" addBinding(bindingText, this.activeHTML)" >
85- </q-btn >
86- </q-form >
87- <q-btn label =" Close" @click =" this.openAttributeModal" />
88- </div >
89- </div >
90- </q-dialog >
91- =======
92- >>>>>>> eae7805d5a6005e8d504792a9fb5196d53127830
9332 </section >
9433</template >
9534
0 commit comments