dojox/mobile/TextBox¶
Authors: | Doug Hays |
---|---|
Developers: | Doug Hays |
since: | V1.7 |
TextBox is a very simple INPUT widget.
Constructor Parameters¶
Parameter | Type | Default | Description |
baseClass | String | mblTextBox | Default CSS class name used to render the textbox. |
class | String | Additional CSS class names to add to baseClass. | |
maxLength | Number | (no limit) | Maximum number of characters that can be entered in the INPUT box. |
placeHolder | String | Prompt text to display inside the INPUT when it would otherwise be empty (requires browser support). | |
onChange | Function | An event handler used for INPUT change notifications. | |
trim | Boolean | false | Remove leading and trailing spaces. |
uppercase | Boolean | false | Convert text to uppercase. |
lowercase | Boolean | false | Convert text to lowercase. |
propercase | Boolean | false | Convert text to propercase (Leading Uppercase). |