mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
LibWeb: Add NavigationTransition, a transient property of Navigation
This property is useful for web content to determine whether an ongoing navigation has settled or not.
This commit is contained in:
parent
4989375191
commit
3dd3b2019d
11 changed files with 118 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
#import <DOM/EventHandler.idl>
|
||||
#import <DOM/EventTarget.idl>
|
||||
#import <HTML/NavigationHistoryEntry.idl>
|
||||
#import <HTML/NavigationTransition.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-interface
|
||||
[Exposed=Window]
|
||||
|
@ -8,7 +9,7 @@ interface Navigation : EventTarget {
|
|||
sequence<NavigationHistoryEntry> entries();
|
||||
readonly attribute NavigationHistoryEntry? currentEntry;
|
||||
undefined updateCurrentEntry(NavigationUpdateCurrentEntryOptions options);
|
||||
// FIXME: readonly attribute NavigationTransition? transition;
|
||||
readonly attribute NavigationTransition? transition;
|
||||
|
||||
readonly attribute boolean canGoBack;
|
||||
readonly attribute boolean canGoForward;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue