© 2022 - aleteo.co
Thunderbird is now part of MZLA Technologies Corporation, a wholly owned subsidiary of Mozilla Foundation. Portions of this content are ©1998–2021 by individual contributors. Content available under a Creative Commons license. Contribute to this site.
BeforeInstallPromptEvent
is fired at the Window.onbeforeinstallprompt
handler before a user is prompted to 'install' a web site to a home screen on mobile.Web application installation is a feature available in modern browsers that allows users to choose to easily and conveniently “install” a web application on their device so they can access it in the same way they would any other installed app. Depending on the device and features of the operating system and browser, this can result in what. To install Firefox in another language or operating system, or if you need a full, offline installer with custom options, download the Firefox Setup file from this download page. Options available in the full, offline installer are described in the article, Custom installation of Firefox on Windows.
This interface inherits from the Event
interface.
BeforeInstallPromptEvent()
BeforeInstallPromptEvent
.Inherits properties from its parent, Event
.
BeforeInstallPromptEvent.platforms
Read only DOMString
items containing the platforms on which the event was dispatched. This is provided for user agents that want to present a choice of versions to the user such as, for example, 'web' or 'play' which would allow the user to chose between a web version or an Android version.BeforeInstallPromptEvent.userChoice
Read only Promise
that resolves to a DOMString
containing either 'accepted' or 'dismissed'.BeforeInstallPromptEvent.prompt()
Promise
.BCD tables only load in the browser