diff --git a/source b/source index 3d3a35b161d..6587634971c 100644 --- a/source +++ b/source @@ -100261,6 +100261,7 @@ const p2 = navigation.navigate(url2).finished; interface NavigationTransition { readonly attribute NavigationType navigationType; readonly attribute NavigationHistoryEntry from; + readonly attribute NavigationDestination to; readonly attribute Promise<undefined> committed; readonly attribute Promise<undefined> finished; }; @@ -100295,6 +100296,12 @@ interface NavigationTransition { useful to compare against navigation.currentEntry.

+
navigation.transition.to
+

The NavigationDestination of the transition. This can be useful as a way to + reflect a current navigation's destination's url without having to listen to the navigate event.

+
navigation.transition.committed

A promise which fulfills once the navigation.currentEntry and NavigationTransition { data-x="concept-NavigationTransition-from">from entry, which is a NavigationHistoryEntry.

+

Each NavigationTransition has an associated destination, which is a + NavigationDestination.

+

Each NavigationTransition has an associated committed promise, which is a promise.

@@ -100349,12 +100360,21 @@ interface NavigationTransition { this's from entry.

+
+

The to getter steps are to return + this's destination.

+
+

The committed getter steps are to return this's committed promise.

+
+

The finished getter steps are to return this's finished @@ -101618,6 +101638,9 @@ interface NavigationDestination {

from entry
fromNHE
+
destination
+
event's destination
+
committed promise
a new promise created in navigation's relevant realm