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

Function mkNumInput

packages/sdk-playground/src/main.ts:1108–1114  ·  view source on GitHub ↗
(placeholder: string, defaultValue = "")

Source from the content-addressed store, hash-verified

1106}
1107
1108function mkNumInput(placeholder: string, defaultValue = ""): HTMLInputElement {
1109 const i = document.createElement("input");
1110 i.type = "number";
1111 i.placeholder = placeholder;
1112 i.value = defaultValue;
1113 return i;
1114}
1115
1116function mkSelect(opts: string[], defaultVal: string): HTMLSelectElement {
1117 const s = document.createElement("select");

Callers 4

buildAddTweenFormFunction · 0.85
buildAddGsapTweenSectionFunction · 0.85
buildSetGsapTweenSectionFunction · 0.85
buildLabelSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected