Skip to main content

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

ParameterType
elementElement

Returns

"text" | "numeric" | "decimal" | "tel" | "email" | "url" | undefined