Listening for all events
See original GitHub issueDear,
Using this node to listen for named events works like a charm.
However I was wondering if it is also possible to listen for all events.
Have tried following without success:
eventSource.addEventListener('', callback);
eventSource.addEventListener('*', callback);
Sometimes it is not clear to users which events are being send, especially when the default ‘message’ is replace by other custom events. In that case it would be nice to start listening for all events, and then later on filter only specific events…
Kind regards, Bart Butenaers
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Listen for all events in JavaScript
I'm trying to figure out how to listen for all events on a JavaScript object. I know that ...
Read more >Listening for events on multiple elements using JavaScript ...
In JavaScript, event listeners have to be attached to individual elements. ... Listen for all focus events in the document document.
Read more >Listen to all events in Javascript - Brian Hanson
I ran into a situation today using a third party library that doesn't have a documented onLoad or onInit event.
Read more >EventTarget.addEventListener() - Web APIs | MDN
It works on any event target, not just HTML or SVG elements. ... A case-sensitive string representing the event type to listen for....
Read more >Listening for events of all types
Listening for events of all types. You can specify a listener which listens for all events types as shown below: on any() as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bartbutenaers I had the same idea as you. the only solution left is to get the spec changed
Hi Aslak, ok, thanks for your time.