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

x/yxz/typing/lib.dom.ts>HashChangeEvent

Deno Standard Extensions
Latest
interface HashChangeEvent
implements Event
import { type HashChangeEvent } from "https://deno.land/x/yxz@0.32.0/typing/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.