Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to pass additional parameters to Shell navigation #12

Merged
merged 1 commit into from
May 17, 2022

Conversation

Dreamescaper
Copy link
Owner

Fixes #11 .

Example:

await NavigationManager.NavigateToAsync("/target", new Dictionary<string, object>
        {
            ["Query1"] = new NavigationParameterModel { Name = "Q1", Value = "V1" },
            ["Query2"] = new NavigationParameterModel { Name = "Q2", Value = null }
        });
... 

    [Parameter] public NavigationParameterModel Query1 { get; set; }
    [Parameter] public NavigationParameterModel Query2 { get; set; }

@Dreamescaper Dreamescaper merged commit 18e213d into main May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support passing object parameters to Shell navigation
1 participant