JavaScript video editor, encoder, switcher - version 5.1.1

MashClass

_editor

_editor?: Editor

_emitter

_emitter?: Emitter

_layer

_layer?: LayerMash

_rendering

_rendering: string

addClipToTrack

  • addClipToTrack(clip: Clip | Clips, trackIndex?: number, insertIndex?: number, frame?: number): void
  • this.time -> this.endTime in time's fps

    Parameters

    • clip: Clip | Clips
    • Optional trackIndex: number
    • Optional insertIndex: number
    • Optional frame: number

    Returns void

addProperties

  • addProperties(object: any, ...properties: Property[]): void
  • Parameters

    • object: any
    • Rest ...properties: Property[]

    Returns void

addTrack

buffer

  • get buffer(): number
  • set buffer(value: number): void
  • Returns number

  • Parameter

    value: number

    Returns void

changeTiming

  • changeTiming(propertied: Propertied, property: string, value: number): void
  • Parameters

    • propertied: Propertied
    • property: string
    • value: number

    Returns void

clearPreview

  • clearPreview(): void
  • Returns void

clips

clipsInTimeOfType

color

color: string

composition

constructor

createdAt

createdAt: string

definitionIds

  • get definitionIds(): string[]
  • Returns string[]

destroy

  • destroy(): void
  • Returns void

draw

  • draw(): void
  • Returns void

drawnTime

drawnTime?: Time

duration

  • get duration(): number
  • Returns number

editedGraphFiles

editor

emitter

endTime

filterGraphs

frame

  • get frame(): number
  • Returns number

frames

  • get frames(): number
  • Returns number

gain

  • get gain(): number
  • set gain(value: number): void
  • Returns number

  • Parameter

    value: number

    Returns void

icon

icon: string

id

  • get id(): string
  • set id(value: string): void
  • Returns string

  • Parameter

    value: string

    Returns void

imageSize

  • get imageSize(): Size
  • set imageSize(value: Size): void
  • Returns Size

  • Parameter

    value: Size

    Returns void

label

label: string

layer

loadPromise

loading

  • get loading(): boolean
  • Returns boolean

loop

loop: boolean

mashes

  • get mashes(): Mash[]

paused

  • get paused(): boolean
  • set paused(value: boolean): void
  • Returns boolean

  • Parameter

    value: boolean

    Returns void

preloader

previewItems

properties

properties: Property[]

propertiesCustom

propertyFind

  • propertyFind(name: string): undefined | Property
  • Parameter

    name: string

    Returns undefined | Property

putPromise

  • putPromise(): Promise<void>
  • Returns Promise<void>

quantize

quantize: number

reload

  • reload(): undefined | Promise<void>
  • Returns undefined | Promise<void>

removeClipFromTrack

  • removeClipFromTrack(clip: Clip | Clips): void

removeTrack

  • removeTrack(index?: number): void
  • Parameter

    Optional index: number

    Returns void

rendering

  • get rendering(): string
  • set rendering(value: string): void
  • Returns string

  • Parameter

    value: string

    Returns void

seekToTime

  • seekToTime(time: Time): undefined | Promise<void>
  • Parameter

    time: Time

    Returns undefined | Promise<void>

selectType

selectType: SelectType

selectables

selectedItems

setValue

  • Parameters

    Returns void

setValues

time

timeRange

toJSON

tracks

tracks: Track[]

value

  • Parameter

    key: string

    Returns Scalar