Options
All
  • Public
  • Public/Protected
  • All
Menu

TextFieldAttrs

Hierarchy

Index

Properties

Optional class

class: string

class is typically applied to the root level DOM of a widget's view.

Use it to define custom rules for styling specific widget instances.

Optional controlTemplate

controlTemplate: TextFieldTemplate

controlTemplate is a template for rendering the control.

Optional disabled

disabled: boolean

disabled indicates the control should not be interactable.

Optional error

error: string

error allows the control to be intialized in the invalid state with a message.

Optional focus

focus: boolean

focus indicates this input should steal focus when rendered.

Optional label

label: string

label for the control.

Optional name

name: string

name of the control.

Used by controls to tag events with names.

Optional placeholder

placeholder: string

placeholder sets placeholder text for the control.

Optional readOnly

readOnly: boolean

readOnly indicates the TextField is read only.

Optional rows

rows: number

rows more than 1 will use a textarea instead of an input.

Optional success

success: string

success allows the control to be intialized in the valid state with a message.

Optional type

type: string

type of the text field.

Optional value

value: string

value of the control.

Used to intialize controls and may also be the value of an Event.

Optional warning

warning: string

warning allows the control to be intilalized in the warn state with a message.

Methods

onChange

Generated using TypeDoc