Classes
Methods
-
<static> edit() → {Actions.Animated.AnimatedAction}
action
-
Description
Delivers an animated GIF.
Returns
Details
Delivers an animated GIF that contains additional loops of the GIF. The total number of iterations is the number of additional loops plus one. You can also specify the loop effect without a numeric value to instruct it to loop the GIF infinitely.
import {Cloudinary} from "@cloudinary/url-gen";
import {animated} from "@cloudinary/url-gen/actions/animated";
const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
const image = yourCldInstance.image('woman');
image.animated(edit().delay(200).loop(3)));
action
Delivers an animated GIF.