The BeforeInstallPromptEvent is fired at the Window.onbeforeinstallprompt
before a user is prompted to "install" a web site to a home
on mobile.
The BeforeInstallPromptEvent is fired at the `Window.onbeforeinstallprompt` before a user is prompted to \"install\" a web site to a home on mobile.
(platforms this)
Property.
Returns an array of DOMString items containing the platforms which the event was dispatched. This is provided for user agents want to present a choice of versions to the user such as, for "web" or "play" which would allow the user to chose between a version or an Android version.
Property. Returns an array of DOMString items containing the platforms which the event was dispatched. This is provided for user agents want to present a choice of versions to the user such as, for "web" or "play" which would allow the user to chose between a version or an Android version.
(prompt this)
Method.
[Experimental]
The prompt() method of the web.event.BeforeInstallPromptEvent
allows a developer to show the install prompt at a time of their
choosing.
BeforeInstallPromptEvent.prompt()
See also: https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent/prompt
Method. [Experimental] The prompt() method of the `web.event.BeforeInstallPromptEvent` allows a developer to show the install prompt at a time of their choosing. `BeforeInstallPromptEvent.prompt()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent/prompt`
(set-platforms! this val)
Property.
Returns an array of DOMString items containing the platforms which the event was dispatched. This is provided for user agents want to present a choice of versions to the user such as, for "web" or "play" which would allow the user to chose between a version or an Android version.
Property. Returns an array of DOMString items containing the platforms which the event was dispatched. This is provided for user agents want to present a choice of versions to the user such as, for "web" or "play" which would allow the user to chose between a version or an Android version.
(set-user-choice! this val)
Property.
Returns a Promise that resolves to a DOMString containing either or "dismissed".
Property. Returns a Promise that resolves to a DOMString containing either or "dismissed".
(user-choice this)
Property.
Returns a Promise that resolves to a DOMString containing either or "dismissed".
Property. Returns a Promise that resolves to a DOMString containing either or "dismissed".
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close