HyperFrames v0.8.144
By Steven Van ·
The headless agent, React embed and vanilla editor examples now check whether a composition supports an animation edit.
The SDK examples and animation documentation in HyperFrames now use the correct calls for entrance animations. The linked correction updates the headless agent, React embed and vanilla editor examples.
Correct tween properties
Entrance snippets using the GSAP “from” method now pass starting values through properties instead of fromProperties. The reference documentation clarifies that properties also holds target values for “to”, immediate values for “set”, and the destination for “fromTo” when toProperties is omitted. fromProperties holds starting values for “fromTo” tweens.
Check whether an edit is supported
The examples now check the .ok field returned by comp.can() before adding or editing animations. When a composition cannot support the edit, the editor examples skip it, while the headless example returns the serialized composition without adding the entrance animation.