Closed
Description
In the default Blazor App, is it possible to hide/show Menu Items in the NavMenu.razor (
) from a Button Click in the Index.razor file?
I don't know how to control the razor file that is loaded into the @Body area by default? I believe it has to do with the @route "/". I have data being loaded there with a selection list of items. And based on what the user chooses, I want to show/hide navigation items in the NavMenu.
Is this possible?
How do you determine the default razor page that is loaded in the @Body area of the layout?
If I add a component in the Layout you can add Parameters, etc. <Components "@MyParam"> /> but I don't know if this is possible with the default index.razor that is being loaded by default in the @Body?
Thanks,
Tom