UNPKG

@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`.

26 lines (25 loc) 573 B
/** * `'installable'` event * @example pwa.dispatchEvent(new InstallableEvent()); */ export class InstallableEvent extends Event { constructor(); } /** * `'installed'` event * @example pwa.dispatchEvent(new InstalledEvent(installed)); */ export class InstalledEvent extends Event { /** * @param {boolean} installed */ constructor(installed: boolean); installed: boolean; } /** * `'update-available'` event * @example pwa.dispatchEvent(new UpdateAvailableEvent()); */ export class UpdateAvailableEvent extends Event { constructor(); }