Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
coderzach
· 11y ago · 0 comments
Using event delegation makes that a non issue.
Comments
[–]
nitwit005
11y ago
Sort of. You'd have to listen at the top level of wherever you're using this, so you'll have to write your own mini event library to figure out which component got clicked on, and grab any associated data.