makeDatepicker function infrastructure

Last updated: 2026-03-02T13:35:57.085Z

Signature

makeDatepicker(options?: { disabled?: boolean }): : HTMLElement

Source Code

function makeDatepicker(options?: { disabled?: boolean }): HTMLElement {
  const wrapper = document.createElement("div");
  wrapper.className = "ant-picker";
  if (options?.disabled) wrapper.classList.add("ant-picker-disabled");

  const inputDiv = document.createElement("div");
  inputDiv.className = "ant-picker-input";

  const input = document.createElement("input");
  input.placeholder = "Selecione a data";

  inputDiv.appendChild(input);
  wrapper.appendChild(inputDiv);

  return wrapper;
}

No outgoing dependencies.

Impact (Incoming)

graph LR makeDatepicker["makeDatepicker"] makeSelect["makeSelect"] makeSelect -->|calls| makeDatepicker style makeDatepicker fill:#dbeafe,stroke:#2563eb,stroke-width:2px click makeDatepicker "70402d74c7a9e9e5.html" click makeSelect "75e6fe1e0954bfa2.html"
SourceType
makeSelect calls