Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.PerformanceTiming

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.PerformanceTiming
import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.ts";
const { PerformanceTiming } = dom;

A legacy interface kept for backwards compatibility and contains properties that offer performance timing information for various events which occur during the loading and use of the current page. You get a PerformanceTiming object describing your page using the window.performance.timing property.

Properties

readonly
connectEnd: number
readonly
connectStart: number
readonly
domComplete: number
readonly
domContentLoadedEventEnd: number
readonly
domContentLoadedEventStart: number
readonly
domInteractive: number
readonly
domLoading: number
readonly
domainLookupEnd: number
readonly
domainLookupStart: number
readonly
fetchStart: number
readonly
loadEventEnd: number
readonly
loadEventStart: number
readonly
navigationStart: number
readonly
redirectEnd: number
readonly
redirectStart: number
readonly
requestStart: number
readonly
responseEnd: number
readonly
responseStart: number
readonly
secureConnectionStart: number
readonly
unloadEventEnd: number
readonly
unloadEventStart: number

Methods

toJSON(): any