Introduce ui-ready event

Change-Id: I1b0c70b5305b74e9f667da421ec1d588186cf532
diff --git a/Changes b/Changes
index fe53ad5..94eceaa 100644
--- a/Changes
+++ b/Changes
@@ -1,8 +1,9 @@
-0.57 2024-09-23
+0.57 2024-09-24
         - Support VCs via URL without queries (diewald)
         - Added translations for regexp and FCSQL (r-wilm)
+        - Introduce 'ui-ready' global event. (diewald)
 
-0.56 2024-08-28
+0.56 2024-09-23
         - Improve slim test for plugin support
           (korapxml2...; diewald)
         - Fix layerInfo retrieval for relation view. (diewald)
diff --git a/dev/js/src/init.js b/dev/js/src/init.js
index 6e6b4f1..f49ff3f 100644
--- a/dev/js/src/init.js
+++ b/dev/js/src/init.js
@@ -505,6 +505,8 @@
         });
       };
     };
+
+    window.dispatchEvent(new Event("ui-ready"));
       
     return obj;
   });