Skip to content

Commit

Permalink
Process review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vnbaaij committed Jun 12, 2024
1 parent c8d0637 commit e68fc89
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6359,6 +6359,12 @@
Adjust the vertical spacing between navlinks.
</summary>
</member>
<member name="P:Microsoft.FluentUI.AspNetCore.Components.FluentNavMenu.CustomToggle">
<summary>
Gets or sets if a custom toggle for showing/hiding the menu is used.
This is primarily intended to be used in a mobile view
</summary>
</member>
<member name="P:Microsoft.FluentUI.AspNetCore.Components.FluentNavMenu.NavigationManager">
<summary>
Navigation manager
Expand Down
4 changes: 2 additions & 2 deletions src/Core/Components/NavMenu/FluentNavBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ public abstract class FluentNavBase : FluentComponentBase
public string CustomToggleId { get; set; } = "navmenu-toggle";

[CascadingParameter]
public FluentNavMenu Owner { get; set; } = default!;
internal FluentNavMenu Owner { get; set; } = default!;

[CascadingParameter]
public FluentMenu? SubMenu { get; set; }
internal FluentMenu? SubMenu { get; set; }

[Inject]
private NavigationManager NavigationManager { get; set; } = default!;
Expand Down
4 changes: 4 additions & 0 deletions src/Core/Components/NavMenu/FluentNavMenu.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ public partial class FluentNavMenu : FluentComponentBase
[Parameter]
public string? Margin { get; set; }

/// <summary>
/// Gets or sets if a custom toggle for showing/hiding the menu is used.
/// This is primarily intended to be used in a mobile view
/// </summary>
[Parameter]
public bool CustomToggle { get; set; } = false;

Expand Down

0 comments on commit e68fc89

Please sign in to comment.