nostr-web-components
Version:
collection of web components that provide quick access to basic nostr things
14 lines (13 loc) • 466 B
TypeScript
export default class NostrUserSearch extends HTMLElement {
static observedAttributes: string[];
root: HTMLDivElement;
limit: number;
value: string | undefined;
relays: string[];
constructor();
connectedCallback(): void;
attributeChangedCallback(name: string, _old: string, value: string): void;
search: (_: string) => void;
handleItemClicked(ev: MouseEvent): void;
queryPart<H = HTMLElement>(name: string): Iterable<H>;
}