Dissolve
This transition is designed for Image elements.
Dissolve from the current image to the next image.
The current image will fade out, and the next image will fade in at the same time.
Usage
import { Dissolve } from "narraleaf-react";
image.char("image1.jpg", new Dissolve(3000));
Public Methods
constructor
duration: number
- The duration of the transition in millisecondseasing?: TransformDefinitions.EasingDefinition
- The easing function, see TransformDefinitions.EasingDefinition