Top "Events" questions

An event is a way for a class to provide notifications to listeners when a particular thing happens.

Detect click outside Angular component

How can I detect clicks outside a component in Angular?

html events angular typescript
Difference between e.target and e.currentTarget

I don't understand the difference, they both seem the same but I guess they are not. Any examples of when …

actionscript-3 events event-handling
trigger click event from angularjs directive

How can i trigger a click event for li elements specifying their index from the angularjs directive? I have tried …

events angularjs click angularjs-directive
Difference between document.addEventListener and window.addEventListener?

While using PhoneGap, it has some default JavaScript code that uses document.addEventListener, but I have my own code which …

javascript events dom event-listener
How to order events bound with jQuery

Lets say I have a web app which has a page that may contain 4 script blocks - the script I …

javascript jquery events
How to pass a view's onClick event to its parent on Android?

I have a TextView in a layout whos background is a Selector. And the TextView's text is set to Spanned …

android events onclick textview
How can I listen for a click-and-hold in jQuery?

I want to be able to fire an event when a user clicks on a button, then holds that click …

javascript jquery events
How to detect input type=file "change" for the same file?

I want to fire an event when the user select a file. Doing so with .change event it works if …

jquery html events cross-browser
How do I handle a click anywhere in the page, even when a certain element stops the propagation?

We are working on a JavaScript tool that has older code in it, so we cannot re-write the whole tool. …

javascript jquery events jquery-events
c# datagridview doubleclick on row with FullRowSelect

I have a datagridview in my C# application and the user should only be able to click on full rows. …

c# events datagridview double-click