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

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

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

Provides methods and properties to store and retrieve metrics regarding the browser's document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document.

Properties

readonly
domComplete: number
readonly
domContentLoadedEventEnd: number
readonly
domContentLoadedEventStart: number
readonly
domInteractive: number
readonly
loadEventEnd: number
readonly
loadEventStart: number
readonly
redirectCount: number
readonly
type: NavigationType
readonly
unloadEventEnd: number
readonly
unloadEventStart: number

Methods

toJSON(): any