getEntriesByName method

PerformanceEntryList getEntriesByName(
  1. String name, [
  2. String type
])

The getEntriesByName() method of the PerformanceObserverEntryList interface returns a list of explicitly observed PerformanceEntry objects for a given PerformanceEntry.name and PerformanceEntry.entryType. The list's members are determined by the set of PerformanceEntry.entryType specified in the call to the PerformanceObserver.observe method. The list is available in the observer's callback function (as the first parameter in the callback).

Implementation

external PerformanceEntryList getEntriesByName(
  String name, [
  String type,
]);