1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00
ladybird/Libraries/LibWeb/HTML/NavigationCurrentEntryChangeEvent.idl

18 lines
697 B
Text

#import <DOM/Event.idl>
#import <HTML/NavigationHistoryEntry.idl>
#import <HTML/NavigationType.idl>
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationcurrententrychangeevent-interface
[Exposed=Window]
interface NavigationCurrentEntryChangeEvent : Event {
constructor(DOMString type, NavigationCurrentEntryChangeEventInit eventInitDict);
readonly attribute NavigationType? navigationType;
readonly attribute NavigationHistoryEntry from;
};
dictionary NavigationCurrentEntryChangeEventInit : EventInit {
// FIXME: Set default value of null when IDL generator supports it
NavigationType? navigationType;
required NavigationHistoryEntry from;
};