NavigationCurrentEntryChangeEvent.idl 685 B

123456789101112131415161718
  1. #import <DOM/Event.idl>
  2. #import <HTML/NavigationHistoryEntry.idl>
  3. #import <HTML/NavigationType.idl>
  4. // https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationcurrententrychangeevent-interface
  5. [Exposed=Window]
  6. interface NavigationCurrentEntryChangeEvent : Event {
  7. constructor(DOMString type, NavigationCurrentEntryChangeEventInit eventInitDict);
  8. readonly attribute NavigationType? navigationType;
  9. readonly attribute NavigationHistoryEntry from;
  10. };
  11. dictionary NavigationCurrentEntryChangeEventInit : EventInit {
  12. // FIXME: Set default value of null when IDL generator supports it
  13. NavigationType? navigationType;
  14. required NavigationHistoryEntry from;
  15. };