@using Microsoft.AspNetCore.Components.Authorization @using Microsoft.AspNetCore.Components.Forms @using Microsoft.AspNetCore.Components.Routing @using Microsoft.Extensions.Options @using Microsoft.JSInterop @using RobotNet10.Components @inject IJSRuntime JS @inject OptionLayout Options
@code { protected override async Task OnAfterRenderAsync(bool firstRender) { if (firstRender) { await JS.InvokeVoidAsync("robotnet.components.loadToggleSidebarState"); } } }