HashChangeEvent.idl 429 B

123456789101112131415
  1. #import <DOM/Event.idl>
  2. // https://html.spec.whatwg.org/multipage/nav-history-apis.html#hashchangeevent
  3. [Exposed=Window]
  4. interface HashChangeEvent : Event {
  5. constructor(DOMString type, optional HashChangeEventInit eventInitDict = {});
  6. readonly attribute USVString oldURL;
  7. readonly attribute USVString newURL;
  8. };
  9. dictionary HashChangeEventInit : EventInit {
  10. USVString oldURL = "";
  11. USVString newURL = "";
  12. };