<hx-textarea-control>
v0.16.0+
HelixUI v0.16.0 or later required
The <hx-textarea-control>
block element is a container that provides
behavior which augments native browser validation capabilities. It is used
to build a Textarea component.
Attributes
Attributes enable declarative configuration of an element, via HTML markup.
-
hx-changed {Boolean}
read-only -
Present if descendant
<textarea>
element has emitted a "change" event. -
hx-dirty {Boolean}
read-only -
Present if descendant
<textarea>
element has emitted a "change" or "blur" event. -
hx-touched {Boolean}
read-only -
Present if descendant
<textarea>
element has emitted a "blur" event.
Properties
JavaScript properties enable programmatic access to an element's configuration and state.
-
controlElement {?HTMLSelectElement}
read-only -
Returns the first
<textarea>
descendant ornull
if none are found. -
isDirty {Boolean [false]}
read-only -
True if
controlElement
has emitted a "change" or "blur" event. -
wasChanged {Boolean [false]}
read-only -
True if
controlElement
has emitted a "change" event. -
wasTouched {Boolean [false]}
read-only -
True if
controlElement
has emitted a "blur" event.