Skip to main content

Class: Composition

Constructors

constructor

new Composition(): Composition

Returns

Composition

Properties

compositionID

compositionID: number = -1


compositionItems

compositionItems: CompositionItem[] = []


designID

designID: null | number = null


docID

docID: string = ''


name

name: string = ''


pdSettings

pdSettings: null | number = null


previewImageUrl

previewImageUrl: string = ''


tags

tags: string[] = []

Methods

fromJSON

fromJSON(json): Composition

Parameters

NameType
jsonany

Returns

Composition