跳转到主要内容

Window: captureEvents() method

{{APIRef("HTML DOM")}}

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

captureEvents()

Parameters

None.

Return value

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

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}