From e6d1fb5049601c5af3069524d779635739b562d0 Mon Sep 17 00:00:00 2001 From: Mees van der Wijk Date: Wed, 28 Jan 2026 13:43:58 +0100 Subject: [PATCH] Added ca;; --- ModuleClientAPI.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ModuleClientAPI.md b/ModuleClientAPI.md index dbaa9c5..718b527 100644 --- a/ModuleClientAPI.md +++ b/ModuleClientAPI.md @@ -92,6 +92,18 @@ api.onResize(callback); | -------- | -------- | -------------------------------------------------------- | | callback | function | Function that will be called when the module is resized. | +### onReconnect + +Register a listener for when the module reconnects to the server. + +```javascript +api.onReconnect(callback); +``` + +| Argument | Type | Description | +| -------- | -------- | ------------------------------------------------------------ | +| callback | function | Function that will be called when the module is reconnected. | + ## Getters ### dom