makeTimePicker function infrastructure

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

Signature

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

Source Code

function makeTimePicker(options?: { disabled?: boolean }): HTMLElement {
  const wrapper = document.createElement("div");
  wrapper.className = "ant-picker ant-picker-time";
  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 = "Select time";

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

  return wrapper;
}

No outgoing dependencies.

Impact (Incoming)

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