API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceTextInputOptions
@codexo/exojs / ui / stable
Options for TextInput.
12
props
0
methods
0
events
Import
import { TextInputOptions } from '@codexo/exojs'Options for TextInput.
Properties12
enterKeyHint?: "done" | "enter" | "go" | "next" | "search" | "send"What the field's confirm key should be labelled as.
filter?: (candidate: string) => booleanGate on the value an edit would produce. An edit whose resulting value is rejected does not happen at all - a refused paste is dropped whole.
height?: numberVisible height in pixels. Default 36.
inputMode?: "decimal" | "email" | "numeric" | "search" | "tel" | "text" | "url"What kind of content the field holds, so mobile keyboards can adapt.
maskChar?: stringWhen set, every grapheme of the value renders as this character; clipboard reads are refused.
maxLength?: numberMaximum value length in UTF-16 code units. Unlimited when absent.
multiline?: booleanWhether newlines are accepted. Default false.
placeholder?: stringHint shown while the field holds no text. Default ''.
readOnly?: booleanWhen set, the field renders and takes focus but rejects every edit. Default false.
Text style overrides on top of the surface skin's.
value?: stringInitial value. Default ''.
width?: numberVisible width in pixels. Default 200.
Source