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

Function makeHtml

packages/sdk/src/engine/mutate.gsap.test.ts:24–29  ·  view source on GitHub ↗
(script: string)

Source from the content-addressed store, hash-verified

22window.__timelines["t"] = tl;`;
23
24function makeHtml(script: string) {
25 return `<div data-hf-id="hf-stage" data-hf-root style="width: 1280px; height: 720px">
26 <div data-hf-id="hf-box" style="opacity: 0"></div>
27 <script>${script}</script>
28</div>`.trim();
29}
30
31function fresh(script = GSAP_SCRIPT) {
32 return parseMutable(makeHtml(script));

Callers 3

freshFunction · 0.70
freshNoTimelineFunction · 0.70
freshArcFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected