You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/routes/concepts/components/event-handlers.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ As a result, there is no requirement for these functions to be reactive.
77
77
## Event delegation
78
78
79
79
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 bubbles up.
80
+
In this method event listeners are attached to the `document` element, and dispatch events to the relevant elements as they bubble up.
81
81
82
82
By keeping the number of event listeners to a minimum, events can be captured more effectively.
83
83
This is especially useful when working with a large number of elements, such as in a table or list.
0 commit comments