From b0a5b061c30db11f9e87ffe74dfef2480f46585d Mon Sep 17 00:00:00 2001 From: klequis Date: Sat, 13 Apr 2024 14:07:10 -0700 Subject: [PATCH] Change "bubbles" to "bubble" (#675) --- src/routes/concepts/components/event-handlers.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/concepts/components/event-handlers.mdx b/src/routes/concepts/components/event-handlers.mdx index aae02e402..ae25efb2a 100644 --- a/src/routes/concepts/components/event-handlers.mdx +++ b/src/routes/concepts/components/event-handlers.mdx @@ -77,7 +77,7 @@ As a result, there is no requirement for these functions to be reactive. ## Event delegation Instead of attaching event listeners to every individual element, Solid uses _synthetic event delegation_, through the [`on__`](/reference/jsx-attributes/on_) form . -In this method event listeners are attached to the `document` element, and dispatch events to the relevant elements as they bubbles up. +In this method event listeners are attached to the `document` element, and dispatch events to the relevant elements as they bubble up. By keeping the number of event listeners to a minimum, events can be captured more effectively. This is especially useful when working with a large number of elements, such as in a table or list.