Function: inputModeFor()
function inputModeFor(element): "text" | "numeric" | "decimal" | "tel" | "email" | "url" | undefined;
Defined in: utils.ts:138
inputMode hint for on-screen keyboards; undefined means "let the browser decide".
Parameters
| Parameter | Type |
|---|---|
element | Element |
Returns
"text" | "numeric" | "decimal" | "tel" | "email" | "url" | undefined