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

Method walkComponentParents

packages/app-backend-api/src/api.ts:117–123  ·  view source on GitHub ↗
(instance: ComponentInstance)

Source from the content-addressed store, hash-verified

115 }
116
117 async walkComponentParents(instance: ComponentInstance) {
118 const payload = await this.callHook(Hooks.WALK_COMPONENT_PARENTS, {
119 componentInstance: instance,
120 parentInstances: [],
121 })
122 return payload.parentInstances
123 }
124
125 async inspectComponent(instance: ComponentInstance, app: App) {
126 const payload = await this.callHook(Hooks.INSPECT_COMPONENT, {

Callers 6

connectFunction · 0.45
elementClickedMethod · 0.45
setupFunction · 0.45
setupFunction · 0.45
applyTrackingUpdateHookFunction · 0.45

Calls 1

callHookMethod · 0.95

Tested by

no test coverage detected