happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
19 lines • 545 B
TypeScript
import Event from '../Event.cjs';
import IHashChangeEventInit from './IHashChangeEventInit.cjs';
/**
* Hash change event.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent
*/
export default class HashChangeEvent extends Event {
readonly newURL: string;
readonly oldURL: string;
/**
* Constructor.
*
* @param type Event type.
* @param [eventInit] Event init.
*/
constructor(type: string, eventInit?: IHashChangeEventInit | null);
}
//# sourceMappingURL=HashChangeEvent.d.ts.map