Back to Content

PresentationConnection: terminate() method

files/en-us/web/api/presentationconnection/terminate/index.md

latest549 B
Original Source

{{APIRef("Presentation API")}}{{SeeCompatTable}}{{SecureContext_Header}}

When the terminate() method is called on a {{domxref("PresentationConnection")}}, the {{Glossary("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-nolint
terminate()

Parameters

None.

Return value

None ({{jsxref("undefined")}}).

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}