Skip to main content

Timeline for Direct vs. Delegated - jQuery .on()

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Jan 13, 2018 at 10:21 history edited Maciej Sikora CC BY-SA 3.0
added 8 characters in body
Jan 12, 2018 at 20:45 comment added cowbert if attaching many event handlers (for example, each row of a table), it is often better performance wise to use single delegated handler to container instead of attaching many direct handlers. You can see this from the basic fact that event handler count is by itself a profiling metric.
Sep 6, 2016 at 13:13 history edited Maciej Sikora CC BY-SA 3.0
added 292 characters in body
Sep 6, 2016 at 13:00 history edited Maciej Sikora CC BY-SA 3.0
added 83 characters in body
Sep 6, 2016 at 12:54 history answered Maciej Sikora CC BY-SA 3.0