@@ -18,7 +18,7 @@ import { RootComponentsFunctions } from './Rendering/JSRootComponents';
18
18
import { attachWebRendererInterop } from './Rendering/WebRendererInteropMethods' ;
19
19
import { WebStartOptions } from './Platform/WebStartOptions' ;
20
20
import { RuntimeAPI } from 'dotnet' ;
21
- import { performEnhancedPageLoad } from './Services/NavigationEnhancement ' ;
21
+ import { hasProgrammaticEnhancedNavigationHandler , performProgrammaticEnhancedNavigation } from './Services/NavigationUtils ' ;
22
22
23
23
// TODO: It's kind of hard to tell which .NET platform(s) some of these APIs are relevant to.
24
24
// It's important to know this information when dealing with the possibility of mulitple .NET platforms being available.
@@ -87,7 +87,8 @@ interface IBlazor {
87
87
// APIs invoked by hot reload
88
88
applyHotReload ?: ( id : string , metadataDelta : string , ilDelta : string , pdbDelta : string | undefined ) => void ;
89
89
getApplyUpdateCapabilities ?: ( ) => string ;
90
- performEnhancedPageLoad : ( internalDestinationHref : string , fetchOptions ?: RequestInit ) => void ;
90
+ performProgrammaticEnhancedNavigation : ( absoluteInternalHref : string , replace : boolean ) => void ;
91
+ hasProgrammaticEnhancedNavigationHandler : ( ) => boolean ;
91
92
}
92
93
}
93
94
@@ -106,7 +107,8 @@ export const Blazor: IBlazor = {
106
107
NavigationLock,
107
108
getJSDataStreamChunk : getNextChunk ,
108
109
attachWebRendererInterop,
109
- performEnhancedPageLoad
110
+ performProgrammaticEnhancedNavigation,
111
+ hasProgrammaticEnhancedNavigationHandler
110
112
} ,
111
113
} ;
112
114
0 commit comments