Reference Source
import {Autocomplete} from '@adobe/coral-spectrum'
public class | source

AutocompleteItem

Expression Extends:

class AutocompleteItem extends BaseComponent(HTMLElement)

Mixin Extends:

HTMLElement, BaseComponent

The Autocomplete Item

See:

Example:

Markup
<coral-autocomplete-item></coral-autocomplete-item>
JS constructor
new Coral.Autocomplete.Item();

Member Summary

Public Members
public

content: *

null

public

Whether this item is disabled.

public

Whether this item is selected.

public

Value of the item.

Public Members

public content: * source

null

public disabled: Boolean source

Whether this item is disabled.

  • false by default.
  • reflected

public selected: Boolean source

Whether this item is selected.

  • false by default.
  • reflected

public value: String source

Value of the item. textContent is used if not provided.

  • "" by default.
  • reflected