Skip to content

InputOptions

Defined in: ui/Input.ts:57

Extends

Indexable

[key: string]: any

Properties

alpha?

optional alpha: number

Defined in: mixins/factory/props.ts:33

Inherited from

Partial.alpha


anchor?

optional anchor: PointLike

Defined in: mixins/factory/props.ts:75

Inherited from

Partial.anchor


bg

bg: Partial<BgStyleOptions>

Defined in: ui/Input.ts:68


blurOnEnter

blurOnEnter: boolean

Defined in: ui/Input.ts:66


caret

caret: Partial<ColorOptions>

Defined in: ui/Input.ts:71


debug

debug: boolean

Defined in: ui/Input.ts:62


error?

optional error: object

Defined in: ui/Input.ts:72

bg?

optional bg: Partial<Omit<BgStyleOptions, "stroke">>

input?

optional input: object

input.fill?

optional fill: number


fixed

fixed: boolean

Defined in: ui/Input.ts:60


focusOverlay

focusOverlay: Partial<FocusOverlayOptions>

Defined in: ui/Input.ts:78


maxLength?

optional maxLength: number

Defined in: ui/Input.ts:65


minWidth

minWidth: number

Defined in: ui/Input.ts:63


padding

padding: Padding

Defined in: ui/Input.ts:64


pattern

pattern: string

Defined in: ui/Input.ts:61


placeholder

placeholder: Partial<PlaceholderOptions & ColorOptions>

Defined in: ui/Input.ts:69


position?

optional position: PointLike

Defined in: mixins/factory/props.ts:19

Inherited from

Partial.position


regex?

optional regex: RegExp

Defined in: ui/Input.ts:67


resolution?

optional resolution: number

Defined in: mixins/factory/props.ts:76

Inherited from

Partial.resolution


roundPixels?

optional roundPixels: boolean

Defined in: mixins/factory/props.ts:77

Inherited from

Partial.roundPixels


scale?

optional scale: PointLike

Defined in: mixins/factory/props.ts:25

Inherited from

Partial.scale


scaleX?

optional scaleX: number

Defined in: mixins/factory/props.ts:23

Inherited from

Partial.scaleX


scaleY?

optional scaleY: number

Defined in: mixins/factory/props.ts:24

Inherited from

Partial.scaleY


selection

selection: Partial<ColorOptions>

Defined in: ui/Input.ts:70


style?

optional style: Partial<TextStyleOptions>

Defined in: mixins/factory/props.ts:78

Inherited from

Partial.style


text?

optional text: string

Defined in: mixins/factory/props.ts:74

Inherited from

Partial.text


type

type: "number" | "text" | "password" | "email" | "tel" | "url"

Defined in: ui/Input.ts:59


value

value: string

Defined in: ui/Input.ts:58


visible?

optional visible: boolean

Defined in: mixins/factory/props.ts:34

Inherited from

Partial.visible


x?

optional x: number

Defined in: mixins/factory/props.ts:17

Inherited from

Partial.x


y?

optional y: number

Defined in: mixins/factory/props.ts:18

Inherited from

Partial.y