hosanna-ui-docs - v0.9.0
    Preparing search index...

    Class ViewJsonAnimator

    Animates properties of multiple views using JSON-based value maps. Implements the ITickable interface for timer-based updates.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    frameTimer: ISGROTimespan

    Tracks the elapsed time for frame rate limiting during animations. Used to ensure consistent timing between animation frames.

    fromValues: IAnimationValues

    Initial values for the animation.

    id: string = ...

    Unique identifier for this animator instance.

    isRegistered: boolean = false

    Whether this animator is registered with the timer service.

    isReversed: boolean = false

    Whether the animation is currently running in reverse.

    options: Required<AnimationOptions>

    Animation options (duration, repeat, reverse, etc).

    runDuration: number = 0

    Tracks the current duration of the animation.

    startValues: IAnimationValues

    Start values for the current animation run.

    Timer service for scheduling animation ticks.

    Target values for the animation.

    Map of view IDs to their corresponding view objects.

    Methods

    • Starts the animation.

      Parameters

      • resume: boolean = false

        If true, resumes from the current state; otherwise, restarts.

      • useCurrentState: boolean = false

        If true, uses the current view state as the start values.

      Returns void