mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-27 20:30:07 +01:00
feat: tank tree svg first step
This commit is contained in:
1 parent
486538acc0
commit
91f3213122
5 files changed
+83
-3
No files matched your search
@@ -16,5 +16,15 @@ namespace WotBlitzStatisticsPro.Blazor.Services
|
||||
{
|
||||
return _jsRuntime.InvokeAsync<bool>("mediaQueries.IsScreenWidthLessThen", widthInPx);
|
||||
}
|
||||
|
||||
public ValueTask<int> WindowHeight()
|
||||
{
|
||||
return _jsRuntime.InvokeAsync<int>("mediaQueries.ScreenHeight");
|
||||
}
|
||||
|
||||
public ValueTask<int> WindowWidth()
|
||||
{
|
||||
return _jsRuntime.InvokeAsync<int>("mediaQueries.ScreenWidth");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user