UNPKG

adwaveui

Version:

Interactive Web Components inspired by the Gtk Adwaita theme.

37 lines (36 loc) 1.35 kB
import { type AttributesOf, type EventNamesOf } from "wc_toolkit"; import { OptionAttributeChangeEvent, OptionContentChangeEvent } from "./events"; declare const CustomElement: import("wc_toolkit").CustomElement<{ value: "string"; inert: "boolean"; selected: "boolean"; }, { readonly optionattributechanged: typeof OptionAttributeChangeEvent; readonly optioncontentchanged: typeof OptionContentChangeEvent; }, { isEqualTo(value?: string | null): boolean; hasValue(): boolean; getValue(): string; getLabel(): string; setSelected(selected: boolean): void; isSelected(): boolean; }>; export declare const AdwSelectorOption: import("wc_toolkit").CustomElement<{ value: "string"; inert: "boolean"; selected: "boolean"; }, { readonly optionattributechanged: typeof OptionAttributeChangeEvent; readonly optioncontentchanged: typeof OptionContentChangeEvent; }, { isEqualTo(value?: string | null): boolean; hasValue(): boolean; getValue(): string; getLabel(): string; setSelected(selected: boolean): void; isSelected(): boolean; }>; export type AdwSelectorOption = InstanceType<typeof CustomElement>; export type AdwSelectorOptionAttributes = AttributesOf<typeof AdwSelectorOption>; export type AdwSelectorOptionEvents = EventNamesOf<typeof AdwSelectorOption>; export {};