supportedEntryTypes property

JSArray<JSString> get supportedEntryTypes

The static supportedEntryTypes read-only property of the PerformanceObserver interface returns an array of the PerformanceEntry.entryType values supported by the user agent.

As the list of supported entries varies per browser and is evolving, this property allows web developers to check which are available.

Implementation

external static JSArray<JSString> get supportedEntryTypes;