ladybird/Userland/Libraries/LibWeb/HTML/HashChangeEvent.idl

16 lines
419 B
Text
Raw Normal View History

2024-04-15 04:25:24 +02:00
#import <DOM/Event.idl>
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#hashchangeevent
[Exposed=Window]
interface HashChangeEvent : Event {
constructor(DOMString type, optional HashChangeEventInit eventInitDict = {});
readonly attribute USVString oldURL;
readonly attribute USVString newURL;
};
dictionary HashChangeEventInit : EventInit {
USVString oldURL = "";
USVString newURL = "";
};