theatre-js / theatre

Motion design editor for the web
https://www.theatrejs.com
Apache License 2.0
10.86k stars 338 forks source link

Add a getKeyframes method to Sequence #426

Closed akre54 closed 10 months ago

akre54 commented 11 months ago

Adds the ability to get the keyframes for a given SheetObject prop. Please feel free to tear it apart or modify as you see fit.

Ref https://github.com/theatre-js/theatre/issues/419#issuecomment-1565390407

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
theatre-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2023 10:23am
AriaMinaei commented 10 months ago

Alright, this one is in. Thank you @akre54! I added a test, and renamed the method to __experimental_getKeyframes() in case we'd need to change its interface later.