Options
All
  • Public
  • Public/Protected
  • All
Menu

Options controlling how to animate the ReaderView when applying a new active transform using the IReaderViewTransformManager.

Hierarchy

  • ITransformAnimationOptions

Index

Properties

Optional durationMs

durationMs?: number

The duration of the animation in milliseconds.

Set this value to 0 to disable animations.

If the duration is not specified, it defaults to 0 (no animation) unless this transform has a default duration specified in ReaderViewOptions.transformManagerOptions.

int
nodefault

Optional easing

easing?: string

The easing function to apply to the animation. The easing function must be a cubic-bezier function on the form "cubic-bezier(x1, y1, x2, y2)"

See TransformEasing for common easing functions. If not specified, it defaults to TransformEasing.MATERIAL_STANDARD_CURVE.

default

cubic-bezier(0.4, 0.0, 0.2, 1)

Generated using TypeDoc