Files
lux/Lux.UI/Components/Layout/MainLayout.razor.cs
2025-07-18 08:39:10 +02:00

27 lines
566 B
C#

namespace Lux.UI.Components.Layout
{
public partial class MainLayout
{
#region Protected Properties
protected string sideClass { get; set; } = "sidebar";
#endregion Protected Properties
#region Protected Methods
protected void UpdateNavDisplay()
{
navLarge = !navLarge;
sideClass = navLarge ? "sidebar" : "sidebarSmall";
}
#endregion Protected Methods
#region Private Fields
private bool navLarge = true;
#endregion Private Fields
}
}