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

Method addWithKeyframes

packages/sdk/src/session.ts:247–259  ·  view source on GitHub ↗
(
    targetSelector: string,
    position: number,
    duration: number,
    keyframes: KeyframeSpec[],
    ease?: string,
  )

Source from the content-addressed store, hash-verified

245 }
246
247 addWithKeyframes(
248 targetSelector: string,
249 position: number,
250 duration: number,
251 keyframes: KeyframeSpec[],
252 ease?: string,
253 ): string {
254 const result = this._dispatch(
255 { type: "addWithKeyframes", targetSelector, position, duration, keyframes, ease },
256 ORIGIN_LOCAL,
257 );
258 return result.meta?.animationId ?? "";
259 }
260
261 replaceWithKeyframes(
262 animationId: string,

Callers

nothing calls this directly

Calls 1

_dispatchMethod · 0.95

Tested by

no test coverage detected