From 98e89232ff50b9c48a11fcae27869806490b1187 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Thu, 7 Dec 2023 07:27:37 +0100 Subject: Temp state --- MatrixRoomUtils.Web/wwwroot/index.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MatrixRoomUtils.Web/wwwroot/index.html') 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, -- cgit 1.5.1