29 lines
873 B
C#
29 lines
873 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Components;
|
|
using System.Net.Http;
|
|
using System.Net.Http.Json;
|
|
using Microsoft.AspNetCore.Components.Forms;
|
|
using Microsoft.AspNetCore.Components.Routing;
|
|
using Microsoft.AspNetCore.Components.Web;
|
|
using Microsoft.AspNetCore.Components.Web.Virtualization;
|
|
using Microsoft.AspNetCore.Components.WebAssembly.Http;
|
|
using Microsoft.JSInterop;
|
|
using GPW.CORE.SMART;
|
|
using GPW.CORE.SMART.Shared;
|
|
|
|
namespace GPW.CORE.SMART.Shared
|
|
{
|
|
public partial class MainLayout
|
|
{
|
|
protected bool navLarge { get; set; } = true;
|
|
protected string sideClass { get; set; } = "sidebar";
|
|
protected void UpdateNavDisplay()
|
|
{
|
|
navLarge = !navLarge;
|
|
sideClass = navLarge ? "sidebar" : "sidebarSmall";
|
|
}
|
|
}
|
|
} |