Interface IHasCommands

A storyboard element that has commands.

interface IHasCommands {
    commands: Command<any>[];
    filePath: string;
    hasCommands: boolean;
    isDrawable: boolean;
    loops: CommandLoop[];
    startTime: number;
    timelineGroup: CommandTimelineGroup;
    triggers: CommandTrigger[];
    updateCommands(): Command<any>[];
}

Hierarchy (view full)

Implemented by

Properties

commands: Command<any>[]

The list of commands of the storyboard element. This is not synchronized with timelineGroup as constantly updating it can be very expensive. If you need to update this array, use updateCommands.

filePath: string

The file path of the content of the storyboard element.

hasCommands: boolean

If this storyboard element has commands or not.

isDrawable: boolean

Whether this storyboard element can be drawn or not.

loops: CommandLoop[]

The list of command loops of the storyboard element.

startTime: number

The start time of the storyboard element.

timelineGroup: CommandTimelineGroup

The command timeline group of this storyboard element.

triggers: CommandTrigger[]

The list of command triggers of the storyboard element.

Methods