Colibrio Reader Framework API - Cloud license
    Preparing search index...

    Interface ITransformAnimationOptions

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

    interface ITransformAnimationOptions {
        durationMs?: number;
        easing?: string;
    }

    Properties

    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.

    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.

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