Extends
Constructor
new ve.ui.WhitespacePreservingTextInputWidget([config])
#
Text input widget which hides but preserves leading and trailing whitespace
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
optional |
Configuration options Properties:
|
Text input widget which hides but preserves leading and trailing whitespace
Methods
getValueAndWhitespace() → {string}
#
Get the value of text widget, including hidden outer whitespace
Returns:
Text widget value including whitespace
- Type
- string
Get the value of text widget, including hidden outer whitespace
setValueAndWhitespace(value)
#
Set the value of the widget and extract whitespace.
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
Set the value of the widget and extract whitespace.