plus1tv / react-anime

✨ (ノ´ヮ´)ノ*:・゚✧ A super easy animation library for React!
https://codepen.io/collection/nrkjgo/
MIT License
1.55k stars 81 forks source link

Expose the created animation #57

Closed iturtleman closed 4 years ago

iturtleman commented 5 years ago

Expose the ability to call anime methods like .pause(), .start(), .seek(ms)

codecov-io commented 5 years ago

Codecov Report

Merging #57 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #57   +/-   ##
======================================
  Coverage    62.5%   62.5%           
======================================
  Files           1       1           
  Lines          24      24           
  Branches        7       7           
======================================
  Hits           15      15           
  Misses          5       5           
  Partials        4       4

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d4c23d7...c2aaf62. Read the comment docs.

alaingalvan commented 4 years ago

Sorry for the late reply, this was a great idea, I went ahead and added it in fa3d724610f952f83e6f798350d6e06ed7e5809e with the addition of the included type definitions from animejs, as well as putting this on the flow definitions too. Thanks!