Skip to main content

Interface: ViewportOptions

Options for CanvasApi methods affecting the viewport.

Extended by

Properties

PropertyTypeDescription

animate?

boolean

True if operation should be animated.

If duration is provided and greater than zero then defaults to true, otherwise it is set to false.

duration?

number

Animation duration in milliseconds.

Implicitly sets animate: true if greater than zero.

Default

500