-
Reflected
Amount of time, in milliseconds, to wait after typing a character before the suggestion is shown.
-
- Default Value:
- HTML Attribute:
-
Reflected
Whether this field is disabled or not.
-
- Inherited From:
- Default Value:
- HTML Attribute:
-
Reflected
Whether this component is hidden or not.
-
- Inherited From:
- Default Value:
- HTML Attribute:
-
Reflected
The icon of the autocomplete.
-
- Default Value:
- HTML Attribute:
-
Reflected
Whether the current value of this field is invalid or not.
-
- Inherited From:
- Default Value:
- HTML Attribute:
-
Readonly
-
-
Reference to a space delimited set of ids for the HTML elements that provide a label for the formField.
Implementers should override this method to ensure that the appropriate descendant elements are labelled using the
aria-labelledby
attribute. This will ensure that the component is properly identified for
accessibility purposes. It reflects the aria-labelledby
attribute to the DOM.
-
- Inherited From:
- Default Value:
- HTML Attribute:
-
Indicates that the component is currently loading remote data. This will set the wait indicator inside the list.
-
- Default Value:
- HTML Attribute:
-
The match mode.
-
- Default Value:
- Coral.Autocomplete.match.CONTAINS
- HTML Attribute:
-
Reflected
Max length for the Input field
-
- HTML Attribute:
-
Reflected
Indicates if the autocomplete is a single or multiple mode. In multiple mode, the user can select multiple
values.
-
- Default Value:
- HTML Attribute:
-
Reflected
Name used to submit the data in a form.
-
- Inherited From:
- Default Value:
- HTML Attribute:
-
Reflected
A hint to the user of what can be entered.
-
- Default Value:
- HTML Attribute:
-
Reflected
Whether this field is readOnly or not. Indicating that the user cannot modify the value of the control.
This is ignored for checkbox, radio or fileupload.
-
- Inherited From:
- Default Value:
- HTML Attribute:
-
Reflected
Whether this field is required or not.
-
- Inherited From:
- Default Value:
- HTML Attribute:
-
The current value, as submitted during form submission.
When
Coral.Autocomplete#multiple is
true
, the first selected value will be returned.
-
- Default Value:
- HTML Attribute:
-
-
-
Add the provided list of suggestions and clear loading status.
-
- Parameters:
-
-
Clears the current selected value or items.
-
-
Clear the list of suggestions.
-
-
Get the value of a property.
-
- Parameters:
-
property |
String
|
The name of the property to fetch the value of.
|
- Returns:
-
Property value.
{*}
- Inherited From:
-
Hide this component.
-
- Returns:
-
- Inherited From:
-
Hides the suggestion UI.
-
-
Remove an event listener.
-
- Parameters:
-
eventName |
String
|
No
|
The event name to stop listening for.
|
selector |
String
|
Yes
|
The selector that was used for event delegation.
|
func |
function
|
No
|
The function that was passed to on() .
|
useCapture |
Boolean
|
Yes
|
Only remove listeners with useCapture set to the value passed in.
|
- Returns:
-
- Inherited From:
-
Add an event listener.
-
- Parameters:
-
eventName |
String
|
No
|
|
The event name to listen for.
|
selector |
String
|
Yes
|
|
The selector to use for event delegation.
|
func |
function
|
No
|
|
The function that will be called when the event is triggered.
|
useCapture |
Boolean
|
Yes
|
|
Whether or not to listen during the capturing or bubbling phase.
|
- Returns:
-
- Inherited From:
-
Non-destructively remove this element. It can be re-added by simply appending it to the document again.
It will be garbage collected if there are no more references to it.
-
- Inherited From:
-
Set a single property.
-
- Parameters:
-
property |
String
|
The name of the property to set.
|
value |
*
|
The value to set the property to.
|
silent |
Boolean
|
If true, events should not be triggered as a result of this set.
|
- Returns:
-
- Inherited From:
-
Show this component.
-
- Returns:
-
- Inherited From:
-
Shows the suggestion UI.
-
-
Trigger an event.
-
- Parameters:
-
eventName |
String
|
No
|
|
The event name to trigger.
|
props |
Object
|
Yes
|
|
Additional properties to make available to handlers as event.detail .
|
bubbles |
Boolean
|
Yes
|
|
Set to false to prevent the event from bubbling.
|
cancelable |
Boolean
|
Yes
|
|
Set to false to prevent the event from being cancelable.
|
- Returns:
-
CustomEvent object
{CustomEvent}
- Inherited From: