Presentation
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
ThePresentation can be defined as two possible user agents in the context:Controlling user agent andReceiving user agent.
In controlling browsing context, thePresentation interface provides a mechanism to override the browser default behavior of launching presentation to external screen. In receiving browsing context,Presentation interface provides the access to the available presentation connections.
In this article
Instance properties
Presentation.defaultRequestExperimentalIn acontrolling user agent, the
defaultRequestattributeMUST return thedefault presentation request if any,nullotherwise. In areceiving browsing context, itMUST returnnull.Presentation.receiverExperimentalIn areceiving user agent, the
receiverattributeMUST return thePresentationReceiverinstance associated with thereceiving browsing context and created by thereceiving user agent when thereceiving browsing context is created.
Instance methods
None.
Specifications
| Specification |
|---|
| Presentation API> # interface-presentation> |