A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/ReportingObserver/observe below:

ReportingObserver: observe() method - Web APIs

ReportingObserver: observe() method

Limited availability

Note: This feature is available in Web Workers.

The observe() method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.

In this article Syntax Parameters

None.

Return value

None (undefined).

Examples

js

const options = {
  types: ["deprecation"],
  buffered: true,
};

const observer = new ReportingObserver((reports, observer) => {
  reportBtn.onclick = () => displayReports(reports);
}, options);

observer.observe();
Specifications Browser compatibility

Loading…

See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4