I’m trying to use lottie.js to make more advanced interactions with my animations than what I can do with Webflow. I know lottie.js is bundled with webflow.js, but it is not exposed in global scopes.
window.lottie is undefined, and the only way I found to access lottie is
window.Webflow.require('lottie').lottie. Is it safe or can it change at any moment? Is there a better way?
Thanks for helping