Skip to content

Both copy text to your clipboard — Build with AI copies a setup prompt to paste into Claude Code, Cursor, Codex or Copilot; Copy page as Markdown copies this page to paste into a chat. How it works

SourceClass()

SourceClass = (id: string, specification: SourceSpecification | CanvasSourceSpecification, dispatcher: Dispatcher, eventedParent: Evented) => Source

Defined in: src/source/source.ts:129

A general definition of a Source class for factory usage

Parameters

ParameterType
idstring
specificationSourceSpecification | CanvasSourceSpecification
dispatcherDispatcher
eventedParentEvented

Returns

Source