Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.PerformanceTiming
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/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