@ryanhelsing/ry-ui
Version:
Framework-agnostic, Light DOM web components. CSS is the source of truth.
25 lines • 706 B
TypeScript
/**
* <ry-combobox>
*
* Searchable dropdown with text input filtering.
*
* Usage:
* <ry-combobox placeholder="Search countries..." name="country">
* <ry-option value="us">United States</ry-option>
* <ry-option value="uk">United Kingdom</ry-option>
* </ry-combobox>
*
* JS uses data-ry-target for queries, CSS uses classes for styling.
*/
import { RyElement } from '../core/ry-element.js';
export declare class RyCombobox extends RyElement {
#private;
static observedAttributes: readonly ["value", "disabled"];
setup(): void;
open(): void;
close(): void;
toggle(): void;
get value(): string;
set value(val: string);
}
//# sourceMappingURL=ry-combobox.d.ts.map