PresentationRequest()
Non-standard: This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
The PresentationRequest()
constructor creates a new PresentationRequest
object which creates a new PresentationRequest.
Syntax
new PresentationRequest(url); new PresentationRequest(urls);
Parameters
- url or urls[]
-
A URL or array of URLs that are possible URLs used to create, or reconnect, a presentation for the PresentationRequest instance.
Specifications
Specification |
---|
Presentation API # constructing-a-presentationrequest |
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 | |
PresentationRequest |
48 |
79 |
51-88 |
No |
35 |
No |
No |
48 |
51-79 |
35 |
No |
5.0 |
© 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/PresentationRequest/PresentationRequest