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

Function sendEmptyComponentData

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

Source from the content-addressed store, hash-verified

91}
92
93export function sendEmptyComponentData(instanceId: string, ctx: BackendContext) {
94 ctx.bridge.send(BridgeEvents.TO_FRONT_COMPONENT_SELECTED_DATA, {
95 instanceId,
96 data: null,
97 })
98}
99
100export async function editComponentState(instanceId: string, dotPath: string, type: string, state: EditStatePayload, ctx: BackendContext) {
101 if (!instanceId) {

Callers 2

connectFunction · 0.90

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected