PresentationRequest: start() method
Presentation API
Presentation API
The start() property of the PresentationRequest interface returns a Promise that resolves with a PresentationConnection after the user agent prompts the user to select a display and grant permission to use that display.
Syntax
start()
Parameters
None.
Return value
A Promise that resolves with a PresentationConnection.
Security
Transient user activation is required. The user has to interact with the page or a UI element in order for this feature to work.