webchalk-animate - v0.31.0
    Preparing search index...
    Index

    Structure

    Methods and/or fields related to the structure of the sequence, including methods related to the clips that make up the sequence and what timeline the sequence belongs to (if any).

    Properties

    Property Getter Methods

    Methods that return objects that contain various internal fields of the sequence (such as autoplays from getTiming(), inProgress from getStatus(), etc.).

    Property Setter Methods

    Methods that allow the modification of various internal fields of the sequence.

    Accessors

    Playback Methods

    Methods that control the playback of the animation sequence.

    Timing Event Methods

    Methods that involve listening to the progress of the animation sequence to perform tasks at specific times.

    Configuration

    Methods and/or fields related to the configuration settings of the sequence.

    Methods

    Structure

    • Adds AnimClip objects to the end of the sequence.

      Parameters

      • animClips: AnimClip<
            Readonly<
                StripDuplicateMethodAutocompletion<
                    {
                        defaultConfig?: Partial<unknown> & object;
                        howOftenBuildGenerators?: "on-first-play-only" | "on-every-play";
                        immutableConfig?: Partial<unknown> & object;
                        buildFrameGenerators(
                            this: Readonly<
                                Pick<
                                    (
                                        AnimClip<Readonly<StripDuplicateMethodAutocompletion<{ defaultConfig?: (Partial<unknown> & object) | undefined; immutableConfig?: (Partial<unknown> & object) | undefined; howOftenBuildGenerators?: "on-first-play-only" | "on-every-play" | undefined; buildFrameGenerators(this: Readonly<Pick<AnimClip<Readonly<StripDuplicateMethodAutocompletion<any>>, AnimClipConfig>, "computeTween">>, ...effectOptions: unknown[]): EffectFrameGeneratorSet; }>>, AnimClipConfig>
                                    ),
                                    "computeTween",
                                >,
                            >,
                            ...effectOptions: unknown[],
                        ): EffectFrameGeneratorSet;
                    },
                >,
            >,
            AnimClipConfig,
        >[]

        An array of animation clips to add.

      Returns this

    • Adds AnimClip objects to the specified location within the sequence.

      Parameters

      • location: AddClipsOptions

        An options object specifying the location at which the clips should be inserted.

      • animClips: AnimClip<
            Readonly<
                StripDuplicateMethodAutocompletion<
                    {
                        defaultConfig?: Partial<unknown> & object;
                        howOftenBuildGenerators?: "on-first-play-only" | "on-every-play";
                        immutableConfig?: Partial<unknown> & object;
                        buildFrameGenerators(
                            this: Readonly<
                                Pick<
                                    (
                                        AnimClip<Readonly<StripDuplicateMethodAutocompletion<{ defaultConfig?: (Partial<unknown> & object) | undefined; immutableConfig?: (Partial<unknown> & object) | undefined; howOftenBuildGenerators?: "on-first-play-only" | "on-every-play" | undefined; buildFrameGenerators(this: Readonly<Pick<AnimClip<Readonly<StripDuplicateMethodAutocompletion<any>>, AnimClipConfig>, "computeTween">>, ...effectOptions: unknown[]): EffectFrameGeneratorSet; }>>, AnimClipConfig>
                                    ),
                                    "computeTween",
                                >,
                            >,
                            ...effectOptions: unknown[],
                        ): EffectFrameGeneratorSet;
                    },
                >,
            >,
            AnimClipConfig,
        >[]

        The array of animation clips to add.

      Returns this

    • Removes the specified AnimClip objects from the sequence.

      Parameters

      • animClips: AnimClip<
            Readonly<
                StripDuplicateMethodAutocompletion<
                    {
                        defaultConfig?: Partial<unknown> & object;
                        howOftenBuildGenerators?: "on-first-play-only" | "on-every-play";
                        immutableConfig?: Partial<unknown> & object;
                        buildFrameGenerators(
                            this: Readonly<
                                Pick<
                                    (
                                        AnimClip<Readonly<StripDuplicateMethodAutocompletion<{ defaultConfig?: (Partial<unknown> & object) | undefined; immutableConfig?: (Partial<unknown> & object) | undefined; howOftenBuildGenerators?: "on-first-play-only" | "on-every-play" | undefined; buildFrameGenerators(this: Readonly<Pick<AnimClip<Readonly<StripDuplicateMethodAutocompletion<any>>, AnimClipConfig>, "computeTween">>, ...effectOptions: unknown[]): EffectFrameGeneratorSet; }>>, AnimClipConfig>
                                    ),
                                    "computeTween",
                                >,
                            >,
                            ...effectOptions: unknown[],
                        ): EffectFrameGeneratorSet;
                    },
                >,
            >,
            AnimClipConfig,
        >[]

        The array of animation clips to remove.

      Returns this

    • Removes a number of AnimClip objects from the sequence based on the provided indices range (0-based).

      Parameters

      • startIndex: number

        The starting index, inclusive.

      • endIndex: number = ...

        The ending index, exclusive (if not specified, startIndex + 1 is used, removing one clip).

      Returns AnimClip<
          Readonly<
              StripDuplicateMethodAutocompletion<
                  {
                      defaultConfig?: Partial<unknown> & object;
                      howOftenBuildGenerators?: "on-first-play-only" | "on-every-play";
                      immutableConfig?: Partial<unknown> & object;
                      buildFrameGenerators(
                          this: Readonly<
                              Pick<
                                  (
                                      AnimClip<Readonly<StripDuplicateMethodAutocompletion<{ defaultConfig?: (Partial<unknown> & object) | undefined; immutableConfig?: (Partial<unknown> & object) | undefined; howOftenBuildGenerators?: "on-first-play-only" | "on-every-play" | undefined; buildFrameGenerators(this: Readonly<Pick<AnimClip<Readonly<StripDuplicateMethodAutocompletion<any>>, AnimClipConfig>, "computeTween">>, ...effectOptions: unknown[]): EffectFrameGeneratorSet; }>>, AnimClipConfig>
                                  ),
                                  "computeTween",
                              >,
                          >,
                          ...effectOptions: unknown[],
                      ): EffectFrameGeneratorSet;
                  },
              >,
          >,
          AnimClipConfig,
      >[]

      An array containing the clips that were removed from the sequence.

    Properties

    generateError: SequenceErrorGenerator = ...
    id: number

    A number that uniquely identifies the sequence from other sequences. Automatically generated.

    Property Getter Methods

    Property Setter Methods

    Accessors

    Playback Methods

    Timing Event Methods

    Configuration

    Methods