makeInputNumber function infrastructure

Last updated: 2026-03-01T23:25:47.093Z

Metrics

LOC: 10 Complexity: 2 Params: 1

Signature

makeInputNumber(disabled = false)

Source Code

function makeInputNumber(disabled = false) {
  const wrapper = document.createElement("div");
  wrapper.className = "ant-input-number";
  if (disabled) wrapper.classList.add("ant-input-number-disabled");

  const input = document.createElement("input");
  input.type = "number";
  wrapper.appendChild(input);
  return { wrapper, input };
}

No outgoing dependencies.

Impact (Incoming)

graph LR makeInputNumber["makeInputNumber"] makeAffixWrapper["makeAffixWrapper"] makeAffixWrapper -->|calls| makeInputNumber style makeInputNumber fill:#dbeafe,stroke:#2563eb,stroke-width:2px click makeInputNumber "80f8dcc00e6b6a7a.html" click makeAffixWrapper "94d6d1b96c609848.html"
SourceType
makeAffixWrapper calls