ladybird/Userland/Libraries/LibWeb/HTML/NavigationDestination.idl
Andrew Kaster 4989375191 LibWeb: Add NavigationDestination, used for NavigateEvents
This class will be used in the algorithms for the navigate event firing
algorithms to populate the destination field of the NavigateEvent.
2023-08-24 11:03:57 -06:00

12 lines
377 B
Plaintext

// https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationdestination-interface
[Exposed=Window, UseNewAKString]
interface NavigationDestination {
readonly attribute USVString url;
readonly attribute DOMString key;
readonly attribute DOMString id;
readonly attribute long long index;
readonly attribute boolean sameDocument;
any getState();
};