Aspnetcore: Blazor (server-side) navigating from javascript

Created on 12 Jul 2019  路  1Comment  路  Source: dotnet/aspnetcore

Feature request

I need to navigate to another component if something happens on my client side in javascript (click on a path in an embedded svg). If I navigate via windows.location.href I make a complete new request.

Describe the solution you'd like

I would like to have a javascript method to navigate to another component using blazor.

area-blazor question

Most helpful comment

Thanks for contacting us, @audacity76.
This is already possible: you can use Blazor.navigateTo.

>All comments

Thanks for contacting us, @audacity76.
This is already possible: you can use Blazor.navigateTo.

Was this page helpful?
0 / 5 - 0 ratings