Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. Navigator
  4. presentation

Navigator: presentation property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.

Thepresentation read-only property ofNavigator serves as the entrypoint for thePresentation API andreturns a reference toPresentation object.

Value

A reference toPresentation object.

Examples

Currently, thenavigator.presentation property is most useful for feature checking, and, for the receiving user agent, to access thePresentationReceiver.

js
// Check if the Presentation API is available in the current browserif ("presentation" in navigator) {  footer.textContent = navigator.presentation.receiver    ? "Receiving presentation"    : "(idle)";} else {  console.error("Presentation API is not available in this browser.");}

Specifications

Specification
Presentation API
# dom-navigator-presentation

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp