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.
Properties
Section titled “Properties”backgroundColor
Section titled “backgroundColor”backgroundColor:
Color
Defined in: ui/text/text-input.ts:14
color:
Color
Defined in: ui/text/text-input.ts:13
cursorPos
Section titled “cursorPos”cursorPos:
number
Defined in: ui/text/text-input.ts:21
dirty:
boolean
Defined in: ui/text/text-input.ts:22
focused
Section titled “focused”focused:
boolean
Defined in: ui/text/text-input.ts:20
fontFamily
Section titled “fontFamily”fontFamily:
string
Defined in: ui/text/text-input.ts:11
fontSize
Section titled “fontSize”fontSize:
number
Defined in: ui/text/text-input.ts:12
maxLength
Section titled “maxLength”maxLength:
number
Defined in: ui/text/text-input.ts:16
multiline
Section titled “multiline”multiline:
boolean
Defined in: ui/text/text-input.ts:17
padding
Section titled “padding”padding:
number
Defined in: ui/text/text-input.ts:15
password
Section titled “password”password:
boolean
Defined in: ui/text/text-input.ts:18
placeholder
Section titled “placeholder”placeholder:
string
Defined in: ui/text/text-input.ts:9
placeholderColor
Section titled “placeholderColor”placeholderColor:
Color
Defined in: ui/text/text-input.ts:10
readOnly
Section titled “readOnly”readOnly:
boolean
Defined in: ui/text/text-input.ts:19
renderMode
Section titled “renderMode”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