Skip to content

TextInputData

Defined in: ui/text/text-input.ts:7

core-ui.ts

The stable UI surface promoted into the top-level esengine namespace (text, UINode box visuals, interaction, layout, theme).

This is the curated public UI API. The complete UI module surface — which also includes low-level text/atlas internals and engine-internal composition glue (e.g. EntityStateMap, ensureComponent) — lives in ./ui and is imported module-directly by the SDK code that needs it. Those internals are intentionally NOT re-exported here, so the public esengine namespace stays a stable, intentional surface.

Re-exported wholesale by core.ts.

backgroundColor: Color

Defined in: ui/text/text-input.ts:14


color: Color

Defined in: ui/text/text-input.ts:13


cursorPos: number

Defined in: ui/text/text-input.ts:21


dirty: boolean

Defined in: ui/text/text-input.ts:22


focused: boolean

Defined in: ui/text/text-input.ts:20


fontFamily: string

Defined in: ui/text/text-input.ts:11


fontSize: number

Defined in: ui/text/text-input.ts:12


maxLength: number

Defined in: ui/text/text-input.ts:16


multiline: boolean

Defined in: ui/text/text-input.ts:17


padding: number

Defined in: ui/text/text-input.ts:15


password: boolean

Defined in: ui/text/text-input.ts:18


placeholder: string

Defined in: ui/text/text-input.ts:9


placeholderColor: Color

Defined in: ui/text/text-input.ts:10


readOnly: boolean

Defined in: ui/text/text-input.ts:19


renderMode: TextRenderMode

Defined in: ui/text/text-input.ts:25

Glyph pipeline for the field text — mirrors Text.renderMode, propagated to the child Text the input plugin renders through (Auto / Bitmap / Sdf).


value: string

Defined in: ui/text/text-input.ts:8