@thepassle/app-tools
Version:
Collection of tools I regularly use to build apps. Maybe they're useful to somebody else. Maybe not. Most of these are thin wrappers around native API's, like the native `<dialog>` element, `fetch` API, and `URLPattern`.
9 lines (8 loc) • 332 B
TypeScript
export class DialogStateEvent extends Event {
/**
* @param {'opening' | 'opened' | 'closing' | 'closed'} kind
* @param {import('./types.js').Context} context
*/
constructor(kind: 'opening' | 'opened' | 'closing' | 'closed', context: import('./types.js').Context);
context: import("./types.js").Context;
}