Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 734 Bytes

File metadata and controls

29 lines (19 loc) · 734 Bytes

@nexim/pwa-install-prompt

NPM Version Build & Lint & Test NPM Downloads NPM License

Overview

PWA install prompt handler.

Installation

Install the package using npm or yarn:

npm install @nexim/pwa-install-prompt

# Or using yarn
yarn add @nexim/pwa-install-prompt

API

import {setupInstallPwaPromptHandler} from '@nexim/pwa-install-prompt';

setupInstallPwaPromptHandler(document.getElementById('install-pwa-guide'));