Re:Stepping Backwards from AngularJS to JQuery – An Experiment
by nicolasMLV on Monday August 29, 2016 @03:17PM
(#12384445)
yes, that is event delegation : https://learn.jquery.com/events/event-delegation/
Re:Stepping Backwards from AngularJS to JQuery – An Experiment
by pcote on Monday August 29, 2016 @04:48PM
(#12385193)
I almost went down the event delegation route. The only thing that stopped me was having stumbled upon a tactic that happened to work where I just attached individualized event handlers one at a time. I appreciate the input and will make sure to give event delegation a second look.
EDIT: Had the 'on' parameters mixed up. Here's the api doc: https://api.jquery.com/on/