From b40a6b859d868b478df34a47ec680059c5c28b60 Mon Sep 17 00:00:00 2001 From: Jon Robson Date: Wed, 13 Nov 2024 15:04:22 -0800 Subject: [PATCH] Documentation: Update README instructions for debugging Change-Id: Iacd45a5849f4f22de229670bce43f12e7041511e --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a3ee37f3..8b85b0ca6 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,13 @@ Popups works with a local copy of the [Mobile Content Service] too: without it popping in and out of the DOM. A useful workaround in DevTools is to context click a link, select inspect, move the cursor some place comfortable, and then from the console enter - `$($0).trigger('mouseenter')`. +``` +$0.dispatchEvent(new MouseEvent("mouseover", { + view: window, + bubbles: true, + cancelable: true, + })); +``` * As described in [[#Development]], `npm start` enables Redux DevTools functionality. In production builds, this same functionality can be enabled by setting a `debug=true` query. E.g.,