Documentation
    Preparing search index...

    Class PWA

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Parameters

      Returns PWA

    Properties

    deferredPrompt: any = null

    Accessors

    • get headless(): boolean

      Returns boolean

    • get iframe(): boolean

      Returns boolean

    • get mobile(): boolean

      Returns boolean

    • get platform(): "android" | "ios" | "mac" | "windows" | "linux" | "unknown"

      Returns "android" | "ios" | "mac" | "windows" | "linux" | "unknown"

    • get pwa(): boolean

      Returns boolean

    Methods

    • Prompt user to install the app

      Parameters

      • Optionalplatform: "android" | "ios"

      Returns Promise<void>

    • Setup the PWA

      Parameters

      • manifest: any = {}

      Returns Promise<void>