Type alias AnimateOptions

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

Object defining options for Viewer.animate

Type declaration

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

    Easing function used for the animation

    Default

    'inOutSine'
    
  • speed: string | number

    Animation speed or duration in milliseconds

  • Optional zoom?: number

    New zoom level between 0 and 100

Generated using TypeDoc