Skip to content

Commit 41de7ae

Browse files
authored
Update event-handlers.mdx (#1141)
1 parent 26e79a8 commit 41de7ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/concepts/components/event-handlers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ As a result, there is no requirement for these functions to be reactive.
7777
## Event delegation
7878

7979
Instead of attaching event listeners to every individual element, Solid uses _synthetic event delegation_, through the [`on__`](/reference/jsx-attributes/on_) form .
80-
In this method event listeners are attached to the `document` element, and dispatch events to the relevant elements as they bubble up.
80+
In this method, event listeners are attached to the `document` element and dispatch events to the relevant elements as they bubble up.
8181

8282
By keeping the number of event listeners to a minimum, events can be captured more effectively.
8383
This is especially useful when working with a large number of elements, such as in a table or list.

0 commit comments

Comments
 (0)