discontinuedPackage js_bindings has been discontinued and replaced by typings.

PerformanceObserver class

The interface is used to observe performance measurement events and be notified of new performance entries as they are recorded in the browser's performance timeline. Note: This feature is available in Web Workers

Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

PerformanceObserver(PerformanceObserverCallback callback)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

disconnect() → void

Available on PerformanceObserver, provided by the PropsPerformanceObserver extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observe([PerformanceObserverInit? options]) → void

Available on PerformanceObserver, provided by the PropsPerformanceObserver extension

takeRecords() → Iterable<PerformanceEntry>

Available on PerformanceObserver, provided by the PropsPerformanceObserver extension

toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited