File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -169,10 +169,9 @@ const leftText = ref('');
169
169
const z = ref (' 0' );
170
170
const noteText = ref (' ' );
171
171
const bindingText = ref (' ' );
172
- const note = ref (' ' );
172
+ // const note = ref('');
173
173
174
174
onMounted (() => {
175
- console .log (" onMounted test" , widthText .value );
176
175
// for loop to access nested HTML elements of components - sets height/width/top/left sliders to current value of selected HTML element
177
176
for (let i = 0 ; i < routes .value [activeRoute .value ].length ; i++ ) {
178
177
for (let j = 0 ; j < routes .value [activeRoute .value ][i].htmlList .length ; j++ ) {
@@ -238,8 +237,8 @@ const submitNote = (element, idNum) => {
238
237
id: idNum
239
238
}
240
239
addActiveComponentElementNote (payload);
241
- console .log (" Ins " )
242
- text .value = ' ' ;
240
+ console .log (" Looking for htmlAttributes " , activeComponentObj . value . htmlAttributes );
241
+ noteText .value = ' ' ;
243
242
};
244
243
245
244
const submitHeight = (element , idNum ) => {
Original file line number Diff line number Diff line change @@ -289,6 +289,9 @@ const writeTemplateTag = (componentName, activeComponent) => {
289
289
outputStr += " /" ;
290
290
}
291
291
outputStr += " >" ;
292
+ if (el .note !== " " ) {
293
+ outputStr += ` ${ el .note } ` ;
294
+ }
292
295
if (el .children .length ) {
293
296
outputStr += " \n " ;
294
297
outputStr += writeNested (el .children , ` ` );
@@ -450,6 +453,7 @@ watch(
450
453
{ deep: true }
451
454
);
452
455
456
+ console .log (activeComponentObj .value )
453
457
// mounted()
454
458
// https://vuejs.org/v2/api/#Vue-nextTick
455
459
// kinda like a promise, used for the window resize
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ const componentMap = computed (() => store.state.componentMap);
153
153
value: ' App' ,
154
154
children: []
155
155
}
156
- console .log (treeData, ' HELLO I AM TREE DATA' );
156
+ // console.log(treeData, 'HELLO I AM TREE DATA');
157
157
// Views come after the root, as its children. No components will be children of App.
158
158
// ONLY Views will have components as children.
159
159
for (const child of componentData .App .children ){
You can’t perform that action at this time.
0 commit comments