Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #33638
| From | Une Bévue <unbewusst.sein@fai.invalid> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Resolved: #addEventListener and customEvent |
| Date | 2017-07-24 07:55 +0200 |
| Organization | Posted through ALPHANET (http://www.alphanet.ch/) |
| Message-ID | <ol424c$rb8$1@shakotay.alphanet.ch> (permalink) |
| References | <ol3vkp$nv8$1@shakotay.alphanet.ch> |
I found it : the CustomEvent bubbles to ancestors of the element which fired the event. <https://www.sitepoint.com/javascript-custom-events/> then, better to dispatch from the deeper node and listen from the upper in dom (body or document ans even window?)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
#addEventListener and customEvent Une Bévue <unbewusst.sein@fai.invalid> - 2017-07-24 07:12 +0200 Resolved: #addEventListener and customEvent Une Bévue <unbewusst.sein@fai.invalid> - 2017-07-24 07:55 +0200
csiph-web