Child component of Autocomplete

API reference

Properties

PropertyAttributeDescriptionTypeDefault
headingrequiredheading

Specifies the component's heading text.

string
labellabel

Specifies an accessible label for the component.

any

Slots

NameDescription
default (unnamed)

A slot for adding calcite-autocomplete-items.

Styles

NameDescription
--calcite-autocomplete-background-color

Specifies the component's background color.

--calcite-autocomplete-border-color

Specifies the component's border color.

--calcite-autocomplete-text-color

Specifies the component's text color.

Methods

NameDescriptionSignature
componentOnReady

Creates a promise that resolves once the component is fully loaded.

componentOnReady(): Promise<this>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.