@types/add2home
TypeScript icon, indicating that this package has built-in type declarations

2.0.34 • Public • Published

Installation

npm install --save @types/add2home

Summary

This package contains type definitions for add2home (http://cubiq.org/add-to-home-screen).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/add2home.

index.d.ts

declare var addToHome: {
    /** Shows the popup.
     * @param {boolean} overrideChecks Override all the compatibility checks and always show the popup.
     */
    show: (overrideChecks: boolean) => void;
    /** Closes the popup. */
    close: () => void;
    /** Reset the local and session storages so the popup will show again (for automatic mode - has no affect if manually opening the popup). */
    reset: () => void;
};

Additional Details

  • Last updated: Tue, 30 Jan 2024 21:35:45 GMT
  • Dependencies: none

Credits

These definitions were written by James Wilkins.

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @types/add2home

Weekly Downloads

0

Version

2.0.34

License

MIT

Unpacked Size

3.4 kB

Total Files

5

Last publish

Collaborators

  • types