@inherits LayoutComponentBase @using Blazored.Toast @using Microsoft.AspNetCore.Components.Authorization
LiteCharms Shop Administration & Monitoring
@Body
@code { private bool isShelfExpanded { get; set; } = false; private void OnShelfStateChanged(bool newState) { isShelfExpanded = newState; // This forces Blazor to re-evaluate the DOM, instantly applying // the "shelf-open" and "shifted-canvas" CSS utility classes. StateHasChanged(); } }