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

Function markSelectedInstance

packages/app-backend-core/src/component.ts:88–91  ·  view source on GitHub ↗
(instanceId: string, ctx: BackendContext)

Source from the content-addressed store, hash-verified

86}
87
88export function markSelectedInstance(instanceId: string, ctx: BackendContext) {
89 ctx.currentInspectedComponentId = instanceId
90 ctx.currentAppRecord.lastInspectedComponentId = instanceId
91}
92
93export function sendEmptyComponentData(instanceId: string, ctx: BackendContext) {
94 ctx.bridge.send(BridgeEvents.TO_FRONT_COMPONENT_SELECTED_DATA, {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected