mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 23:42:17 +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
Notes:
sideshowbarker
2024-07-17 03:03:37 +09:00
Author: https://github.com/ADKaster
Commit: 3dd3b2019d
Pull-request: https://github.com/SerenityOS/serenity/pull/20720
Reviewed-by: https://github.com/kalenikaliaksandr
Reviewed-by: https://github.com/shannonbooth ✅
11 changed files with 118 additions and 1 deletions
9
Userland/Libraries/LibWeb/HTML/NavigationTransition.idl
Normal file
9
Userland/Libraries/LibWeb/HTML/NavigationTransition.idl
Normal file
|
@ -0,0 +1,9 @@
|
|||
#import <HTML/NavigationType.idl>
|
||||
#import <HTML/NavigationHistoryEntry.idl>
|
||||
|
||||
[Exposed=Window, UseNewAKString]
|
||||
interface NavigationTransition {
|
||||
readonly attribute NavigationType navigationType;
|
||||
readonly attribute NavigationHistoryEntry from;
|
||||
readonly attribute Promise<undefined> finished;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue