UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

37 lines (35 loc) 1.43 kB
/// <reference types="../../index.d.ts" /> import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina'; import { FlipContext, Scale } from '../interfaces'; import { InteractiveComponent } from '../../utils/interactive'; import { IconNameOrString } from '../calcite-icon/interfaces'; /** * @slot [content-end] - A slot for adding non-actionable elements after content of the component. * @slot [content-start] - A slot for adding non-actionable elements before content of the component. */ export declare class AutocompleteItem extends LitElement { /** A description for the component. Displays below the label text. */ description: string; /** * When `true`, interaction is prevented and the component is displayed with lower opacity. * * @default false */ disabled: boolean; /** * Specifies heading text for the component. * * @required */ heading: string; /** Specifies an icon to display at the end of the component. */ iconEnd: IconNameOrString; /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */ iconFlipRtl: FlipContext; /** Specifies an icon to display at the start of the component. */ iconStart: IconNameOrString; /** Accessible name for the component. */ label: string; /** The component's value. */ value: string; }