Interface TransitionOptions

Hierarchy

  • TransitionOptions

Properties

useTransitions?: boolean

Whether to use transitions between images.
Note: increases memory and CPU usage drastically.

Default Value

true

imageTransition?: TransitionType

Base transition type for images.
Can be overridden by providing a specific transition type in the input images array.
See xfade for a demonstration of each transition.

Default Value

slideleft

loopTransition?: TransitionType

Transition type to use for when transitioning from the last image to the first image.
See xfade for a demonstration of each transition.

Default Value

pixelize

transitionDuration?: number

Base transition duration for images in milliseconds.
Can be overridden by providing a specific transition duration in the input images array.
Also used for the loop transition duration.

Default Value

250

Generated using TypeDoc