Skip to main content
Module

x/evt/lib/types/lib.dom.ts>HashChangeEvent

💧EventEmitter's typesafe replacement
Go to Latest
interface HashChangeEvent
implements Event
import { type HashChangeEvent } from "https://deno.land/x/evt@v2.4.13/lib/types/lib.dom.ts";

Events that fire when the fragment identifier of the URL has changed.

Properties

readonly
newURL: string

Returns the URL of the session history entry that is now current.

readonly
oldURL: string

Returns the URL of the session history entry that was previously current.