Top "Custom-events" questions

The custom-events tag is an ambigious tag used when a question targets an event in an event-driven system created an maintained by the asker him or her -self.

Internet Explorer 9, 10 & 11 Event constructor doesn't work

I am creating an event, so use the DOM Event constructor: new Event('change'); This works fine in modern browsers, …

internet-explorer-9 internet-explorer-10 internet-explorer-11 dom-events custom-events
How do I create a custom event in an AngularJs service

I am working on an AngularJs project. I have a service which sets and removes events on some buttons. This …

javascript angularjs events custom-events
Dispatch event with data

I'd like to dispatch an event that will pass some data to any event listeners that listen on that event. …

javascript events custom-events
JavaScript: Listen for attribute change?

Is it possible in JavaScript to listen for a change of attribute value? For example: var element=document.querySelector('……

javascript attributes event-handling custom-events
Trigger event with parameters

This is pretty annoying. I want to just trigger an event in javascript. I need to pass the event object …

javascript custom-events
jQuery trigger not firing with bind() or on() for custom events

Can anyone tell me why this code would not be working? $('body').on('test', function() { alert('test'); }); $('body').trigger('test'); …

jquery triggers bind jquery-events custom-events
How to trigger custom event with jQuery?

I'm attaching a custom event handler to the body in jQuery's ready method. Afterwards I immediately trigger the custom event …

jquery event-handling jquery-events custom-events
Typescript: How to convert a string to a type

I am creating a bunch of web components and each of them can emit custom events. As an example here …

typescript types casting custom-events
jQuery: How do I use event.preventDefault() with custom events?

How can I know in my triggering code that preventDefault has been called? $(document).trigger('customEvent', params); if (/* ??? */) doDefaultActions();

jquery custom-events
wxPython: Threading GUI --> Using Custom Event Handler

I am trying to learn how to run a thread off the main GUI app to do my serial port …

python multithreading wxpython custom-events