Back to Content

Window: captureEvents() method

files/en-us/web/api/window/captureevents/index.md

latest425 B
Original Source

{{APIRef}} {{Deprecated_Header}}

The Window.captureEvents() method does nothing. Its original behavior has been removed from the specification, but the method itself has been retained so as not to break code that calls it.

Syntax

js-nolint
captureEvents()

Parameters

None.

Return value

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

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}