Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextFieldDef

This creates text field control.

Hierarchy

Indexable

[key: string]: any

This creates text field control.

Index

Properties

Optional afterInit

Optional attr

attr: IDictionary<string>

Object defining html attributes for controls root element.

Optional change

Callback that is called when content of this field is changed.

Optional click

Callback that will be called when control is clicked.

Optional css

css: JQueryCssProperties

Object defining css styles for controls root element.

Optional enabled

enabled: undefined | false | true

If true control will be enabled if false control will be disabled (inactive).

Optional fixedWidth

fixedWidth: undefined | number

Optional id

id: undefined | string

Reference id of the control, it will be used to reference this control in the code throuth FieldsIndex objects.

Optional ignore

ignore: undefined | false | true

If true this control definition will be ignored and control will not be initiated.

Optional init

Callback that will be called when control is initialised.

Optional on

Optional password

password: undefined | false | true

If true and not in multi-line input mode, it will make this control into password input field. (default: false)

Optional placeholder

placeholder: undefined | string

Placeholder text for this text field.

Optional resizable

resizable: string | boolean

If true and multi-line text input will be resizable by user. (default: false)

Optional styleClass

styleClass: undefined | string

Style class to add on root element of the control.

Optional text

text: undefined | string

Initial value of this control. Alias of value field.

Optional textArea

textArea: undefined | false | true

Enable multi-line text input.

Optional title

title: undefined | string

HTML title attribute of this control.

type

type: "TextField" | object

Optional value

value: undefined | string

Initial value of this control.

Optional visible

visible: undefined | false | true

Set initial visibility of control. (default: true)