You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`leave`: The app is being left either because the tab is being closed or a navigation to a different document is occurring
1918
1943
1919
1944
</div>
1920
1945
</div>
@@ -1949,11 +1974,7 @@ type: 'link';
1949
1974
<divclass="ts-block-property-details">
1950
1975
1951
1976
The type of navigation:
1952
-
-`form`: The user submitted a `<form method="GET">`
1953
-
-`leave`: The app is being left either because the tab is being closed or a navigation to a different document is occurring
1954
1977
-`link`: Navigation was triggered by a link click
1955
-
-`goto`: Navigation was triggered by a `goto(...)` call or a redirect
1956
-
-`popstate`: Navigation was triggered by back/forward navigation
1957
1978
1958
1979
</div>
1959
1980
</div>
@@ -2001,10 +2022,6 @@ type: 'popstate';
2001
2022
<divclass="ts-block-property-details">
2002
2023
2003
2024
The type of navigation:
2004
-
-`form`: The user submitted a `<form method="GET">`
2005
-
-`leave`: The app is being left either because the tab is being closed or a navigation to a different document is occurring
2006
-
-`link`: Navigation was triggered by a link click
2007
-
-`goto`: Navigation was triggered by a `goto(...)` call or a redirect
2008
2025
-`popstate`: Navigation was triggered by back/forward navigation
2009
2026
2010
2027
</div>
@@ -2169,13 +2186,6 @@ The argument passed to [`onNavigate`](/docs/kit/$app-navigation#onNavigate) call
2169
2186
2170
2187
```dts
2171
2188
type OnNavigate = Navigation & {
2172
-
/**
2173
-
* The type of navigation:
2174
-
* - `form`: The user submitted a `<form method="GET">`
2175
-
* - `link`: Navigation was triggered by a link click
2176
-
* - `goto`: Navigation was triggered by a `goto(...)` call or a redirect
2177
-
* - `popstate`: Navigation was triggered by back/forward navigation
2178
-
*/
2179
2189
type: Exclude<NavigationType, 'enter' | 'leave'>;
2180
2190
/**
2181
2191
* Since `onNavigate` callbacks are called immediately before a client-side navigation, they will never be called with a navigation that unloads the page.
0 commit comments