diff options
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> |