diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-06-17 20:58:51 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-06-17 20:58:51 +0200 |
commit | ce7be6bbdf0edf069cb50aee64df187609893b92 (patch) | |
tree | cf9775e054a425243c5a7adeef6aa34344d3b49d /MatrixRoomUtils.Web/wwwroot/index.html | |
parent | Add changes (diff) | |
download | MatrixUtils-ce7be6bbdf0edf069cb50aee64df187609893b92.tar.xz |
Start refactor
Diffstat (limited to 'MatrixRoomUtils.Web/wwwroot/index.html')
-rw-r--r-- | MatrixRoomUtils.Web/wwwroot/index.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MatrixRoomUtils.Web/wwwroot/index.html b/MatrixRoomUtils.Web/wwwroot/index.html index f268ac4..9c9e7d0 100644 --- a/MatrixRoomUtils.Web/wwwroot/index.html +++ b/MatrixRoomUtils.Web/wwwroot/index.html @@ -36,6 +36,12 @@ console.log("Element is not an HTMLElement", element); } } + function getWindowDimensions() { + return { + width: window.innerWidth, + height: window.innerHeight + }; + } </script> <script src="_framework/blazor.webassembly.js"></script> </body> |