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.
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
