Navigator.presentation
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The presentation property of Navigator serves as the entry point for the Presentation API and returns a reference to Presentation object.
Syntax
const presentation = navigator.presentation
Value
A reference to Presentation object.
Specifications
| Specification |
|---|
| Presentation API # dom-navigator-presentation |
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
presentation |
47 |
79 |
51-88 |
No |
34 |
No |
No
See bug 521319.
|
47 |
51-79 |
34 |
No |
5.0 |
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/presentation