Skip to content

Type alias: SourceClass

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

A general definition of a Source class for factory usage

Type declaration

new SourceClass(id, specification, dispatcher, eventedParent): Source

Parameters
Name Type
id string
specification SourceSpecification | CanvasSourceSpecification
dispatcher Dispatcher
eventedParent Evented
Returns

Source

Defined in

src/source/source.ts:124