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

Function buildSetTextSection

packages/sdk-playground/src/main.ts:769–777  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

767}
768
769function buildSetTextSection(): HTMLDivElement {
770 const textInput = mkInput("new text", "");
771 const set = mkBtn("Set", "primary", () => {
772 if (!needSelection()) return;
773 comp!.setText(selectedId!, textInput.value);
774 logEntry("op", { setText: { id: selectedId, value: textInput.value } });
775 });
776 return opSection("setText", opRow(textInput, set));
777}
778
779function buildAddGsapTweenSection(): HTMLDivElement {
780 const target = mkInput("target id", selectedId ?? "hf-badge");

Callers

nothing calls this directly

Calls 7

mkInputFunction · 0.85
mkBtnFunction · 0.85
needSelectionFunction · 0.85
logEntryFunction · 0.85
opSectionFunction · 0.85
opRowFunction · 0.85
setTextMethod · 0.65

Tested by

no test coverage detected