Core Concepts of dotlottie-js
Learn the core concepts of dotlottie-js, including the DotLottie instance, managing animations, handling assets, applying themes, and using state machines.
This section introduces the fundamental building blocks for working with .lottie files using dotlottie-js. You will learn about the central DotLottie instance, how to manage animations by adding, retrieving, and modifying them, and how image and audio assets are implicitly handled and accessed. This section also covers the implementation of theming for visual variations, the use of state machines for interactive animations, the process of merging multiple DotLottie instances, and finally, the various methods available for exporting your completed .lottie files.