-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
No
Describe the solution you'd like
Currently the BlazorDesktop platform runs on a single window, understandably so. For some advanced cases, it might be useful to have multi window support. Maybe having an extension to the NavigationManager or having something like an IWindowManager service where it will also handle the main window as well as managing other windows, this might be a great addition in the future.
@inject NavigationManager Navigation
@inject IWindowManager WindowManager
@code
{
void OnOpenInNewWindow()
{
Navigation.NavigateToInNewWindow("/products");
}
void OnOpenNewWindow()
{
WindowManager.Create("window-identifier");
var window = WindowManager.GetWindow("window-identifier");
window.NavigateTo("/products");
}
}Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request