MCPcopy
hub / github.com/vuejs/core / devtoolsComponentEmit

Function devtoolsComponentEmit

packages/runtime-core/src/devtools.ts:162–174  ·  view source on GitHub ↗
(
  component: ComponentInternalInstance,
  event: string,
  params: any[],
)

Source from the content-addressed store, hash-verified

160}
161
162export function devtoolsComponentEmit(
163 component: ComponentInternalInstance,
164 event: string,
165 params: any[],
166): void {
167 emit(
168 DevtoolsHooks.COMPONENT_EMIT,
169 component.appContext.app,
170 component,
171 event,
172 params,
173 )
174}

Callers 1

emitFunction · 0.90

Calls 1

emitFunction · 0.70

Tested by

no test coverage detected