Liking cljdoc? Tell your friends :D

web.permissions.PerformanceObserver

The PerformanceObserver interface is used to observe performance events and be notified of new performance entries as they are in the browser's performance timeline.

The PerformanceObserver interface is used to observe performance
events and be notified of new performance entries as they are
in the browser's performance timeline.
raw docstring

constructorcljs

Constructor.

The PerformanceObserver() constructor creates a new web.permissions.PerformanceObserver object with the given observer callback. The observer callback is invoked when performance entry events are recorded for the entry types that have been registered, via the observe() method.

callback A PerformanceObserverCallback callback that will be invoked when observed performance events are recorded. When the callback is invoked, its first parameter is a list of performance observer entries and the second parameter is the observer object.

See also: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/PerformanceObserver

Constructor.

The PerformanceObserver() constructor creates a new `web.permissions.PerformanceObserver` object with the given observer callback. The observer callback is invoked when performance entry events are recorded for the entry types that have been registered, via the `observe()` method.

callback
A PerformanceObserverCallback callback that will be invoked when observed performance events are recorded. When the callback is invoked, its first parameter is a list of performance observer entries and the second parameter is the `observer` object.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/PerformanceObserver`
sourceraw docstring

disconnectcljs

(disconnect this)

Method.

The disconnect() method of the web.permissions.PerformanceObserver is used to stop the performance observer from receiving any performance events.

performanceObserver.disconnect();

See also: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/disconnect

Method.

The disconnect() method of the `web.permissions.PerformanceObserver`
is used to stop the performance observer from receiving any performance
events.

`performanceObserver.disconnect();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/disconnect`
sourceraw docstring

observecljs

(observe this options)

Method.

The observe() method of the web.permissions.PerformanceObserver is used to specify the set of performance entry types to observe.

observer.observe(options);

See also: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/observe

Method.

The observe() method of the `web.permissions.PerformanceObserver`
is used to specify the set of performance entry types to observe.

`observer.observe(options);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/observe`
sourceraw docstring

take-recordscljs

(take-records this)

Method.

The takeRecords() method of the web.permissions.PerformanceObserver returns the current list of performance entries stored in the observer, emptying it out.

var PerformanceEntry[] = performanceObserver.takeRecords();

See also: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/takeRecords

Method.

The takeRecords() method of the `web.permissions.PerformanceObserver`
returns the current list of `performance entries` stored in the
observer, emptying it out.

`var PerformanceEntry[] = performanceObserver.takeRecords();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/takeRecords`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close