Skip to main content

Interface: UITextInputOptions

Defined in: src/ui/components/UITextInput.ts:28

Extends​

Properties​

ariaLabel​

ariaLabel: string

Defined in: src/ui/components/UITextInput.ts:29


children?​

optional children: Object3D<Object3DEventMap>[]

Defined in: src/ui/UIElement.ts:100

Inherited from​

UIElementOptions.children


disabled?​

optional disabled: boolean

Defined in: src/ui/components/UITextInput.ts:34


interactionEnabled?​

optional interactionEnabled: boolean

Defined in: src/ui/UIElement.ts:103

Inherited from​

UIElementOptions.interactionEnabled


maxLength?​

optional maxLength: number

Defined in: src/ui/components/UITextInput.ts:36


multiline?​

optional multiline: boolean

Defined in: src/ui/components/UITextInput.ts:33

Fixed at construction because the native editing element cannot change.


onBlur()?​

optional onBlur: () => void

Defined in: src/ui/components/UITextInput.ts:41

Returns​

void


onChange()?​

optional onChange: (value) => void

Defined in: src/ui/components/UITextInput.ts:38

Parameters​

value​

string

Returns​

void


onFocus()?​

optional onFocus: () => void

Defined in: src/ui/components/UITextInput.ts:40

Returns​

void


onInput()?​

optional onInput: (value) => void

Defined in: src/ui/components/UITextInput.ts:37

Parameters​

value​

string

Returns​

void


onSubmit()?​

optional onSubmit: (value) => void

Defined in: src/ui/components/UITextInput.ts:39

Parameters​

value​

string

Returns​

void


placeholder?​

optional placeholder: string

Defined in: src/ui/components/UITextInput.ts:31


pointerEvents?​

optional pointerEvents: PointerEvents

Defined in: src/ui/UIElement.ts:102

Inherited from​

UIElementOptions.pointerEvents


readOnly?​

optional readOnly: boolean

Defined in: src/ui/components/UITextInput.ts:35


reticleMode?​

optional reticleMode: ReticleMode

Defined in: src/ui/UIElement.ts:104

Inherited from​

UIElementOptions.reticleMode


style?​

optional style: UIStyle

Defined in: src/ui/UIElement.ts:99

Inherited from​

UIElementOptions.style


value?​

optional value: string

Defined in: src/ui/components/UITextInput.ts:30


visible?​

optional visible: boolean

Defined in: src/ui/UIElement.ts:101

Inherited from​

UIElementOptions.visible