MCPcopy
hub / github.com/simstudioai/sim / on

Method on

apps/sim/lib/pptx-renderer/core/viewer.ts:361–367  ·  view source on GitHub ↗
(
    type: K,
    listener: (event: PptxViewerEventMap[K]) => void
  )

Source from the content-addressed store, hash-verified

359 // -----------------------------------------------------------------------
360
361 on<K extends keyof PptxViewerEventMap>(
362 type: K,
363 listener: (event: PptxViewerEventMap[K]) => void
364 ): this {
365 this.addEventListener(type, listener as EventListener)
366 return this
367 }
368
369 off<K extends keyof PptxViewerEventMap>(
370 type: K,

Callers 15

isDockerRunningFunction · 0.80
runCommandFunction · 0.80
mainFunction · 0.80
schema.tsFile · 0.80
initializeOpenTelemetryFunction · 0.80
registerFunction · 0.80
runCommandFunction · 0.80
parseStreamMethod · 0.80
getCsvPreviewSliceFunction · 0.80
estimators.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected