MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / updateEase

Function updateEase

packages/sdk/examples/react-embed.ts:105–108  ·  view source on GitHub ↗
(comp: Composition, animationId: string, ease: string)

Source from the content-addressed store, hash-verified

103}
104
105export function updateEase(comp: Composition, animationId: string, ease: string): void {
106 if (!comp.can({ type: "setGsapTween", animationId, properties: { ease } })) return;
107 comp.setGsapTween(animationId, { ease });
108}
109
110// ── Undo / redo ───────────────────────────────────────────────────────────────
111

Callers

nothing calls this directly

Calls 2

canMethod · 0.65
setGsapTweenMethod · 0.65

Tested by

no test coverage detected