ITextBox

Module: TSUI.UI
Extends: IControl
Exported: Yes

Associated source files:

Description

Defines a TextBox control.

Public Properties

OnTextChange: TSUI.Events.TextChangeEvent;
Fired when the text is changed.


Public Methods

Masked(value?: boolean): boolean
Gets or sets whether the text is masked.
  • OPTIONAL value: boolean - The value to set the masked state to.
  • Returns: boolean - The actual text mask state.
MaxLength(value?: number): number
Gets or sets the max-length of the text.
  • OPTIONAL value: number - The value to set the max-length to.
  • Returns: number - The actual value of the max-length.
Text(value?: string): string
Gets or sets the text of the control.
  • OPTIONAL value: string - The value to set the text to.
  • Returns: string - The actual text of the control.
TextInput(): JQuery
Gets the underlying <input> element.
  • Returns: JQuery - The underlying <input> element.


Last edited Sep 6, 2013 at 7:02 PM by EdwardNutting, version 1

Comments

No comments yet.