UNPKG

nostr-web-components

Version:

collection of web components that provide quick access to basic nostr things

12 lines (11 loc) 389 B
import { NostrEvent } from '@nostr/tools/pure'; export default class NostrRSVP extends HTMLElement { static observedAttributes: string[]; root: HTMLDivElement; eventData: NostrEvent | null; constructor(); connectedCallback(): void; attributeChangedCallback(): void; set: () => void; sendRSVP(status: 'accepted' | 'tentative' | 'declined'): Promise<void>; }