Same as ion-textarea.
Same as ion-textarea.
Same as ion-textarea.
Same as ion-textarea.
Same as ion-textarea.
Same as ion-textarea
Same as ion-textarea.
Same as ion-textarea.
An ion-label component which is bundled with this component under an ion-item is aria-hidden by default. This setting disables the default setting. You can still set the aria-hidden attribute manually.
Turns off the listening to the router and turns on the listener for "hyloInputOn" and "hyloInputOff".
The id of an element which holds an error message for this component. The error message is only considered when the component is invalid.
Same as ion-textarea.
If not set, the component determents its invalidation based on "required" and its value.
Text added to the aria-label of the textarea field.
If you bundled the component with an ion-label component under an ion-item, you can force the id of the ion-label to be this value. If textareaLabel is not set, the attribute aria-labelledby will be set accordingly.
Same as ion-textarea.
Same as ion-textarea.
Same as ion-textarea.
Same as ion-textarea.
The delay in milliseconds the aria-hidden gets removed again after a page got loaded. A delay is probably needed to prevent the screen reader to set the focus to the input field.
Any keydown event skips the delay.
Same as ion-textarea.
Same as ion-textarea.
Same as ion-textarea.
Same as ion-textarea.
Same as ion-textarea.
The id of the actual textarea element.
The aria-label value given to the wrapped textarea field. If not set and no ion-label is used, the placeholder value is used.
Same as ion-textarea.
Same as ion-textarea.
Fires when the component gains or looses focus through the "tab" key. The component also toggles the class "hylo-has-focus".
The emitted boolean value indicates whether the component gained or lost the focus.
Generated using TypeDoc
Basicly the same as ion-textarea. In fact, it wraps an ion-textarea component. It adds more compatibility for screen readers to the textarea field.
It turns off the textarea field during a page change by adding aria-hidden="true". To do so it listens for "hyloRouteWillChange" and "hyloRouteDidChange" of the hylo-router component.
If the textarea field is not turned off during a page change, a screen reader might set focus to the textarea field while changing the page. You can turn off the listeners by using the property "dontListenToRouter" and fire the events "hyloInputOn", "hyloInputOff" on your own.
The unwanted focus shift to the textarea field might also occure at DOM manipulations. Fire the events "hyloInputOff" and "hyloInputOn" to disable the textarea field and enable it after the DOM manipulation is done.
The events "hyloInputOn" and "hyloInputOff" are fired also by other components to prevent the screen reader to shift focus to the textarea field.
Fire the events "hyloInputOn" and "hyloInputOff" on the window object on your own to control the aria-hidden property of all hylo-textarea components.