A.TextDataEditor Class
A base class for Text Data Editor.
Constructor
A.TextDataEditor
-
config
Parameters:
-
config
ObjectObject literal specifying widget configuration properties.
Methods
_afterEditedValueChange
()
protected
Fired after the editedValue
attribute is set.
_afterLabelChange
()
protected
<p>Fired after the <code>label</code> attribute is set.</p>
_afterPlaceholderChange
()
protected
Fired after the placeholder
attribute is set.
_afterRequiredChange
()
protected
<p>Fired after the <code>required</code> attribute is set.</p>
_afterVisibleChange
()
protected
<p>Fired after the <code>visible</code> attribute is set.</p>
_onValueChange
()
protected
Fired when the input's value changes.
_uiSetEditedValue
-
editedValue
Updates the ui according to the value of the editedValue
attribute.
Parameters:
-
editedValue
String
_uiSetLabel
-
label
<p>Updates the ui according to the value of the <code>label</code> attribute.</p>
Parameters:
-
label
String
_uiSetPlaceholder
-
placeholder
Updates the ui according to the value of the placeholder
attribute.
Parameters:
-
placeholder
String
_uiSetRequired
-
required
<p>Updates the ui according to the value of the <code>required</code> attribute.</p>
Parameters:
-
required
Object
_uiSetVisible
-
visible
<p>Updates the ui according to the value of the <code>visible</code> attribute.</p>
Parameters:
-
visible
Object
destructor
()
protected
<p>Destructor lifecycle implementation for the <code>A.DataEditor</code> class. Lifecycle.</p>
initializer
()
protected
Constructor for the A.TextDataEditor
. Lifecycle.
isEmpty
()
Boolean
Returns true
if this edited value has no elements.
Returns:
isValid
()
Boolean
If the Text Data Editor has a String on text field this will return true.
Returns:
Properties
ATTRS
Object
static
Static property used to define the default attribute configuration
for the A.TextDataEditor
.