1 write to _jsModule
Aspire.Dashboard (1)
Model\ThemeManager.cs (1)
27_jsModule = await _jsRuntime.InvokeAsync<IJSObjectReference>("import", "/js/app-theme.js").ConfigureAwait(false);
4 references to _jsModule
Aspire.Dashboard (4)
Model\ThemeManager.cs (4)
25if (_jsModule == null) 30var currentThemeTask = _jsModule.InvokeAsync<string>("getCurrentTheme", cancellationToken); 31var themeCookieValueTask = _jsModule.InvokeAsync<string?>("getThemeCookieValue", cancellationToken); 40await JSInteropHelpers.SafeDisposeAsync(_jsModule).ConfigureAwait(false);