Same as ion-input.
Adds the current value to the aria-label. Helps if the screen reader has problems to read the actual value.
Same as ion-input.
Same as ion-input.
Same as ion-input.
Same as ion-input.
Same as ion-input.
Same as ion-input.
Sets the height of the wrapped ion-input and input elements to 100%. Sets --padding-start, --padding-end, --padding-top, --padding-bottom to 0.
Same as ion-input.
Same as ion-input.
Same as ion-input.
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.
Sets the digits after decimal sign when the type="number".
Classes added to the wrapped input field.
The id of the actual input element.
The aria-label value given to the wrapped input field. If not set and no ion-label is used, the placeholder value is used.
Same as ion-input.
If not set, the component determents its invalidation based on "required" and its value.
Text added to the aria-label of the input 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 inputLabel is not set, the attribute aria-labelledby will be set accordingly.
The locales setting for formatting the value for the aria-label and aria-valuenow. Currently just used for type="number".
Same as ion-input.
Same as ion-input.
Same as ion-input.
Same as ion-input.
Same as ion-input.
Same as ion-input.
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-input.
Same as ion-input.
Puts the text in front of the input element.
Same as ion-input.
Same as ion-input.
Same as ion-input.
Same as ion-input.
Same as ion-input.
Text for screen readers to indicate that the value is invalid. Used for type="number" since screen reader implementation is buggy.
Checks hylo-page-root's translation object for "formInvalidLabel".
Text prepended the value when the value is added to the aria-label.
Checks hylo-page-root's translation object for "formValueIsLabel".
Text for screen readers to indicate that the value is valid. Used for type="number" since screen reader implementation is buggy.
Checks hylo-page-root's translation object for "formValidLabel".
Same as ion-input.
Same as ion-input.
Fires when a change of the value occurred (every character).
Fires when the value changed.
Fires when the "enter" key gets hit while having the focus.
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
Basically the same as ion-input. In fact, it wraps an ion-input component. It adds more compatibility for screen readers to the input field.
It turns off the input 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 input field is not turned off during a page change, a screen reader might set focus to the input 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 input field might also occur at DOM manipulations. Fire the events "hyloInputOff" and "hyloInputOn" to disable the input 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 input field.
Fire the events "hyloInputOn" and "hyloInputOff" on the window object on your own to control the aria-hidden property of all hylo-input components.