[CHANGE] Updated layouts && configured rendermode
This commit is contained in:
16
ImportUI/Components/Layout/ApplicationLayout.razor.cs
Normal file
16
ImportUI/Components/Layout/ApplicationLayout.razor.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace ImportUI.Components.Layout;
|
||||
|
||||
public partial class ApplicationLayout
|
||||
{
|
||||
[CascadingParameter]
|
||||
public BaseLayout? BaseLayout { get; set; }
|
||||
public bool DrawerOpen { get; set; } = true;
|
||||
public string AppText { get; set; } = "YouTube Import";
|
||||
|
||||
private void ToggleDrawerOpen()
|
||||
{
|
||||
DrawerOpen = !DrawerOpen;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user