Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HashChangeEvent

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

interface HashChangeEvent extends Event {
readonly newURL: string;
readonly oldURL: string;
}
var HashChangeEvent: {
prototype: HashChangeEvent;
new (type: string, eventInitDict?: HashChangeEventInit): HashChangeEvent;
}
;

§Extends

§Properties

§
readonly newURL: string
[src]

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

§
readonly oldURL: string
[src]

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