Skip to content
  1. API
  2. Types

CameraAnimationOptions

Type: object

Properties

  • duration(optional) number[=0] Duration of the animation, in milliseconds.
  • easing(optional) EasingFunction[="linear"] Easing used by the animation.
  • ignoreZoomLimits(optional) boolean[=false] If false, the options interactions.zoom.minValue and interactions.zoom.maxValue are ignored.
  • startAfter(optional) number[=0] Advanced usage. Number from 0 to 1 indicating after which percentage of the duration the animation must be started. For example, specifying 0.5 would cause the animation to start after half of its total duration, and to be played two times faster as a consequence.