about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/wwwroot/index.html
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-06-17 20:58:51 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-06-17 20:58:51 +0200
commitce7be6bbdf0edf069cb50aee64df187609893b92 (patch)
treecf9775e054a425243c5a7adeef6aa34344d3b49d /MatrixRoomUtils.Web/wwwroot/index.html
parentAdd changes (diff)
downloadMatrixUtils-ce7be6bbdf0edf069cb50aee64df187609893b92.tar.xz
Start refactor
Diffstat (limited to 'MatrixRoomUtils.Web/wwwroot/index.html')
-rw-r--r--MatrixRoomUtils.Web/wwwroot/index.html6
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>