Player-animator Version 0.9.9 Or Later !link! | Install
const element = document.getElementById('my-animation'); const frames = element.querySelectorAll('.frame'); // your animated frames
After installation, the import syntax remains identical to the npm method. Install Player-animator Version 0.9.9 Or Later
<!-- Latest 0.9.x version (replace x with actual patch) --> <script src="https://unpkg.com/player-animator@0.9.9/dist/player-animator.min.js"></script> const element = document
yarn add player-animator@">=0.9.9"