Skip to main content

Interface: UITextInputOptions

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

Extends​

Properties​

ariaLabel​

ariaLabel: string

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


children?​

optional children: Object3D<Object3DEventMap>[]

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

Inherited from​

UIElementOptions.children


disabled?​

optional disabled: boolean

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


interactionEnabled?​

optional interactionEnabled: boolean

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

Inherited from​

UIElementOptions.interactionEnabled


maxLength?​

optional maxLength: number

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


multiline?​

optional multiline: boolean

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

Fixed at construction because the native editing element cannot change.


onBlur()?​

optional onBlur: () => void

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

Returns​

void


onChange()?​

optional onChange: (value) => void

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

Parameters​

value​

string

Returns​

void


onFocus()?​

optional onFocus: () => void

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

Returns​

void


onInput()?​

optional onInput: (value) => void

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

Parameters​

value​

string

Returns​

void


onSubmit()?​

optional onSubmit: (value) => void

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

Parameters​

value​

string

Returns​

void


placeholder?​

optional placeholder: string

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


pointerEvents?​

optional pointerEvents: PointerEvents

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

Inherited from​

UIElementOptions.pointerEvents


readOnly?​

optional readOnly: boolean

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


reticleMode?​

optional reticleMode: ReticleMode

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

Inherited from​

UIElementOptions.reticleMode


style?​

optional style: UIStyle

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

Inherited from​

UIElementOptions.style


value?​

optional value: string

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


visible?​

optional visible: boolean

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

Inherited from​

UIElementOptions.visible