EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

getEntriesByName method

Returns an array of selected PerformanceEntry objects in chronological order, based on startTime.

Internet Explorer 10

 

Syntax

var retVal = performance.getEntriesByName(name, entryType);

Parameters

name [in]

Type: DOMString

The name associated with the recorded events to be returned.

entryType [in, optional]

Type: DOMString

The type of recorded events to be returned.

ValueMeaning
mark

Return PerformanceMark events

measure

Return PerformanceMeasure events.

navigation

Return performanceNavigation timing events.

resource

Return PerformanceResourceTiming events.

 

Return value

Type: any

A PerformanceEntryList object, which is an array containing PerformanceEntry objects matching the values specified in the input parameters.

Standards information

See also

performance

 

 

Mostrar:
© 2014 Microsoft