Child component of Autocomplete

API reference

Properties

PropertyAttributeDescriptionTypeDefault
headingrequiredheadingSpecifies the component's heading text.string
labellabelSpecifies an accessible label for the component.any

Slots

NameDescription
default (unnamed)A slot for adding calcite-autocomplete-items.

Styles

NameDescription
--calcite-autocomplete-background-colorSpecifies the component's background color.
--calcite-autocomplete-border-colorSpecifies the component's border color.
--calcite-autocomplete-text-colorSpecifies the component's text color.

Methods

NameDescriptionSignature
componentOnReadyCreate a promise that resolves once 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.