MCPcopy
hub / github.com/vuejs/devtools-v6 / visitComponentTree

Method visitComponentTree

packages/app-backend-api/src/api.ts:107–115  ·  view source on GitHub ↗
(instance: ComponentInstance, treeNode: ComponentTreeNode, filter: string = null, app: App)

Source from the content-addressed store, hash-verified

105 }
106
107 async visitComponentTree(instance: ComponentInstance, treeNode: ComponentTreeNode, filter: string = null, app: App) {
108 const payload = await this.callHook(Hooks.VISIT_COMPONENT_TREE, {
109 app,
110 componentInstance: instance,
111 treeNode,
112 filter,
113 })
114 return payload.treeNode
115 }
116
117 async walkComponentParents(instance: ComponentInstance) {
118 const payload = await this.callHook(Hooks.WALK_COMPONENT_PARENTS, {

Callers 5

simple.jsFile · 0.45
index.jsFile · 0.45
handleAddPerformanceTagFunction · 0.45
captureMethod · 0.45
captureFunction · 0.45

Calls 1

callHookMethod · 0.95

Tested by

no test coverage detected