diff --git a/docs/inspect/InspectContainer.vue b/docs/inspect/InspectContainer.vue
index 09914257..55070bcc 100644
--- a/docs/inspect/InspectContainer.vue
+++ b/docs/inspect/InspectContainer.vue
@@ -1,12 +1,14 @@
-
-
+
+
-
-
+
+
-
+
@@ -22,6 +24,7 @@ import { AccessibilityNode, AccessibilityNodeTree, AccessibilityWindow } from '.
const treeData = ref([]);
const nodeData = ref(null);
const rawData = ref(null);
+const currentNodeKey = ref(-1);
onMounted(async () => {
const temp = await fetch('/temp.json');
@@ -46,11 +49,18 @@ function buildTree(data: AccessibilityNode[], parentId: number): AccessibilityNo
top,
right,
bottom,
+ nodeId
}
})
}
-const handleNodeClick = (data: AccessibilityNode) => {
+const handleTreeNodeClick = (data: AccessibilityNode) => {
nodeData.value = data;
+ currentNodeKey.value = data.nodeId;
+}
+
+const handleImgNodeClick = (data: AccessibilityNode) => {
+ nodeData.value = data;
+ currentNodeKey.value = data.nodeId;
}
\ No newline at end of file
diff --git a/docs/inspect/NodePic.vue b/docs/inspect/NodePic.vue
index b2373b97..a00103a1 100644
--- a/docs/inspect/NodePic.vue
+++ b/docs/inspect/NodePic.vue
@@ -1,97 +1,127 @@
-
+
+ "
+
+
\ No newline at end of file
diff --git a/docs/inspect/NodeTable.vue b/docs/inspect/NodeTable.vue
index 38f0a642..e4fa1608 100644
--- a/docs/inspect/NodeTable.vue
+++ b/docs/inspect/NodeTable.vue
@@ -6,22 +6,26 @@
\ No newline at end of file
diff --git a/docs/inspect/NodeTree.vue b/docs/inspect/NodeTree.vue
index 51c7a50b..00dcad9b 100644
--- a/docs/inspect/NodeTree.vue
+++ b/docs/inspect/NodeTree.vue
@@ -1,18 +1,24 @@
-
+
\ No newline at end of file