Added the ability to render a specific frameNumber rather than always just rendering the first frame.
My use case here:
I have a set of assets that are being generated from CMS defined list of lottie animations at build time
I have an animation with segments, it plays an "enter" animation first, then loops using a later starting point. The very first frame is blank, as the enter animation hasn't yet played.
In some cases only the still SVG is displayed, like for users with prefers-reduced-motion enabled. I need to be able to display different still frame than the very first one, while still maintaining the nice dynamic generation 🚀
Added the ability to render a specific
frameNumber
rather than always just rendering the first frame.My use case here:
prefers-reduced-motion
enabled. I need to be able to display different still frame than the very first one, while still maintaining the nice dynamic generation 🚀Cheers!