From b78b896adaf69d2a5c0f53f600a1be2f2adf4c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ritzl?= Date: Tue, 30 Jan 2024 11:08:38 +0100 Subject: [PATCH] Update README_API.md --- README_API.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README_API.md b/README_API.md index cd37a90..49ee045 100644 --- a/README_API.md +++ b/README_API.md @@ -222,6 +222,13 @@ IMPORTANT! If you provide a function you must also make sure to call `monarch.on * `fn_or_url` (function) - The function to call or URL to send message to +## monarch.has_missing_resources(screen_id) +Check if a screen has any missing resources. If the screen is loaded by a collection proxy with Load Dynamically this will use `collectionproxy.missing_resources()`. For other cases this function will always return false. + +**RETURN** +* `result` (boolean) - true if the screen has missing resources + + ## monarch.debug() Enable verbose logging of the internals of Monarch.