Open nickj886 opened 2 years ago
Possibly works but not in initial prerendering:
For Blazor Server apps with prerendering enabled, calling into JS isn't possible during initial prerendering. JS interop calls must be deferred until after the connection with the browser is established.
https://docs.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-javascript-from-dotnet?view=aspnetcore-6.0 https://docs.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-javascript-from-dotnet?view=aspnetcore-6.0#detect-when-a-blazor-server-app-is-prerendering
Hi,
Does the BlazorJSProxy work with Blazor Server or just Webassembly?
Thanks Nick