diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-12-07 07:27:37 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-12-07 07:27:37 +0100 |
commit | 98e89232ff50b9c48a11fcae27869806490b1187 (patch) | |
tree | 433405d39ed533842c9d684a79b4216efe834893 /MatrixRoomUtils.Web/wwwroot/index.html | |
parent | Reformat (diff) | |
download | MatrixUtils-98e89232ff50b9c48a11fcae27869806490b1187.tar.xz |
Temp state
Diffstat (limited to 'MatrixRoomUtils.Web/wwwroot/index.html')
-rw-r--r-- | MatrixRoomUtils.Web/wwwroot/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MatrixRoomUtils.Web/wwwroot/index.html b/MatrixRoomUtils.Web/wwwroot/index.html index 0439e62..3fc740a 100644 --- a/MatrixRoomUtils.Web/wwwroot/index.html +++ b/MatrixRoomUtils.Web/wwwroot/index.html @@ -36,6 +36,7 @@ console.log("Element is not an HTMLElement", element); } } + function getWidth(element) { console.log("getWidth", element); if (element == null) return 0; @@ -47,6 +48,7 @@ } return 0; } + function getWindowDimensions() { return { width: window.innerWidth, |