From 8c8e71deac5aee439ff609f4cdab48b1322d9b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81kos=20Luk=C3=A1cs?= Date: Thu, 18 Apr 2024 14:21:23 +0200 Subject: [PATCH] Wrong event name in dispatch.md (#4141) --- packages/docs/src/en/magics/dispatch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/en/magics/dispatch.md b/packages/docs/src/en/magics/dispatch.md index 376b70f6c..e43f5ba04 100644 --- a/packages/docs/src/en/magics/dispatch.md +++ b/packages/docs/src/en/magics/dispatch.md @@ -66,7 +66,7 @@ Notice that, because of [event bubbling](https://en.wikipedia.org/wiki/Event_bub ``` -> The first example won't work because when `custom-event` is dispatched, it'll propagate to its common ancestor, the `div`, not its sibling, the ``. The second example will work because the sibling is listening for `notify` at the `window` level, which the custom event will eventually bubble up to. +> The first example won't work because when `notify` is dispatched, it'll propagate to its common ancestor, the `div`, not its sibling, the ``. The second example will work because the sibling is listening for `notify` at the `window` level, which the custom event will eventually bubble up to. ## Dispatching to other components