PresentationRequest: PresentationRequest() constructor
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
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 PresentationRequest()
constructor creates a new PresentationRequest object which creates a
new PresentationRequest.
Syntax
js
new PresentationRequest(url)
new PresentationRequest(urls)
Parameters
urlorurls\[]-
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
Loading…