/** * The _Popover_ is a nested dialog which is used for e.g. autocompletions. * * _Popover_ elements are anchored to the parent [``](../uwc-input.ts) * * They can be added like this: * * @example * * ```html * * *
Some custom popover content
*
*
* ``` * * @module */ /** * marks all elements in the associated popover dialog with `[aria-selected]` if their value occurs in the associated values * * @internal */ export declare function markSelected(input: UwcInputElement): void; /** * given an input listen to changes of aria-selected attributes on contained ValueElements * * @internal */ export declare function setup(input: UwcInputElement, abortController: { signal: AbortSignal; }): void; /** * get the associated dialog for a given input * * @internal */ export declare function getDialog(input: UwcInputElement, { createIfAbsent, }?: { /** * create a dialog if none is found */ createIfAbsent?: boolean; }): HTMLDialogElement | undefined; /** * get the currently highlighted element * * @internal */ export declare function getHighlighted(input: UwcInputElement): HTMLElement | null | undefined; /** * remove the highlighting * * @internal */ export declare function clearHighlight(input: UwcInputElement): void; /** * highlight the given element * * @internal */ export declare function highlight(input: UwcInputElement, element: Element | undefined): void; /** * get an element by a relative offset from the currently highlighted element, if any * * @internal */ export declare function getRelativeFromCurrent(input: UwcInputElement, offset: number): Element | undefined; /** * highlight the next element * * @internal */ export declare function highlightNext(input: UwcInputElement): void; /** * highlight the previous element * * @internal */ export declare function highlightPrevious(input: UwcInputElement): void; export declare function show(input: UwcInputElement): void; export declare function hide(input: UwcInputElement): void;