✅ – Cory – 19-42 Jan 25
Why does
addEventListener
log twice if I manually pass e
to the callback, but only logs once if I implicitly pass the event? 9 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Ah I see
Is this just a problem with arrow funcs?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
The thing is, I need to pass other arguments to
handleContextMenu
If I'm creating new functions by doing (e) => handleContextMenu(e)
then is it even possible to pass other args like (e) => handleContextMenu(e, 1, 'aaa')
?Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Gotcha
Okay I got it working.
As always, thank you so much Tyler! ❤️
This question has an answer! Thank you for helping 😄
If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1067892204137349211
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
This thread hasn’t had any activity in 12 hours, so it’s now locked.
Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1067892204137349211