performance.getEntriesByType(type)
-
type<string> -
¥Returns: <PerformanceEntry[]>
返回按时间顺序排列的 PerformanceEntry 对象列表,其中 performanceEntry.startTime 的 performanceEntry.entryType 等于 type。
¥Returns a list of PerformanceEntry objects in chronological order
with respect to performanceEntry.startTime whose performanceEntry.entryType
is equal to type.