W3cubDocs

/Web APIs

PresentationConnection: terminate() method

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

When the terminate() method is called on a PresentationConnection, the user agent begins the process of terminating the presentation. The exact process differs depending on whether terminate() is called in the controlling or the presenting context.

Syntax

js

terminate()

Parameters

None.

Return value

None (undefined).

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
terminate 48 79 No No 35 No No 48 No 35 No 5.0

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/terminate