makeTimePicker function infrastructure
Last updated: 2026-03-02T13:35:57.085Z
Metrics
LOC: 16
Complexity: 2
Params: 1
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)
| Source | Type |
|---|---|
| makeSelect | calls |