mazey
    Preparing search index...

    Interface PWAEnvironment

    Browser objects used by Mazey's synchronous PWA capability checks.

    Supply an environment when the caller already owns browser references, such as a site initializer, iframe integration, or deterministic test. Injected objects are used exclusively and are never combined with global browser objects.

    interface PWAEnvironment {
        document?: Document;
        navigator: Navigator & { standalone?: boolean };
        window: Pick<Window, "isSecureContext" | "location" | "matchMedia">;
    }

    Index

    document?: Document

    Document inspected for a web app manifest when one is required.

    navigator: Navigator & { standalone?: boolean }

    Navigator capabilities used by Service Worker and iOS standalone checks.

    window: Pick<Window, "isSecureContext" | "location" | "matchMedia">

    Window capabilities used by PWA scope and display-mode checks.