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

Function addTweenSelectors

packages/cli/src/commands/keyframes.ts:636–640  ·  view source on GitHub ↗
(selectors: Set<string>, cmp: SurfacedComposition)

Source from the content-addressed store, hash-verified

634}
635
636function addTweenSelectors(selectors: Set<string>, cmp: SurfacedComposition): void {
637 for (const t of cmp.tweens) {
638 if (t.method !== "set") selectors.add(t.target);
639 }
640}
641
642function addCssKeyframeSelectors(selectors: Set<string>, cmp: SurfacedComposition): void {
643 for (const css of cmp.cssKeyframes) {

Callers 1

collectShotSelectorsFunction · 0.85

Calls 1

addMethod · 0.80

Tested by

no test coverage detected