Type Alias AnimateOptions

AnimateOptions: Partial<ExtendedPosition> & {
    easing?: AnimationOptions<any>["easing"];
    speed: string | number;
    zoom?: number;
}

Object defining options for Viewer.animate

Type declaration

  • Optionaleasing?: AnimationOptions<any>["easing"]

    Easing function used for the animation

    'inOutSine'
    
  • speed: string | number

    Animation speed or duration in milliseconds

  • Optionalzoom?: number

    New zoom level between 0 and 100