UseAutocompleteReturnValue

Properties

Link copied to clipboard
abstract external var anchorEl: HTMLElement?

An HTML element that is used to set the position of the component.

Link copied to clipboard
abstract external var dirty: Boolean

If true, the component input has some values.

Link copied to clipboard
abstract external var expanded: Boolean

If true, the listbox is being displayed.

Link copied to clipboard
abstract external var focused: Boolean

If true, the component is focused.

Link copied to clipboard
abstract external var focusedTag: Number

Index of the focused tag for the component.

Link copied to clipboard
abstract external var getClearProps: () -> HTMLAttributes<HTMLButtonElement>

Resolver for the clear button element's props.

Link copied to clipboard

Resolver for the input label element's props.

Link copied to clipboard
abstract external var getInputProps: () -> InputHTMLAttributes<HTMLInputElement>

Resolver for the input element's props.

Link copied to clipboard
abstract external var getListboxProps: () -> HTMLAttributes<HTMLUListElement>

Resolver for the listbox component's props.

Link copied to clipboard
abstract external var getOptionProps: (renderedOption: UseAutocompleteRenderedOption<Value>) -> HTMLAttributes<HTMLLIElement>

Resolver for the rendered option element's props.

Link copied to clipboard

Resolver for the popup icon's props.

Link copied to clipboard
abstract external var getRootProps: (externalProps: Any?) -> HTMLAttributes<HTMLDivElement>

Resolver for the root slot's props.

Link copied to clipboard
abstract external var getTagProps: Any

A tag props getter.

Link copied to clipboard
abstract external var groupedOptions: Any

The options to render. It's either Value[] or AutocompleteGroupedOption<Value>[] if the groupBy prop is provided.

Link copied to clipboard
abstract external var id: ElementId?

Id for the Autocomplete.

Link copied to clipboard
abstract external var inputValue: String

The input value.

Link copied to clipboard
abstract external var popupOpen: Boolean

If true, the popup is open on the component.

Link copied to clipboard
abstract external var setAnchorEl: () -> Unit

Setter for the component anchorEl.

Link copied to clipboard
abstract external var value: Any

The value of the autocomplete.