eventhandlerreference

noun
UK /ɪˈvɛntˌhændlə ˈrɛfrəns/
US /ɪˈvɛntˌhændlər ˈrɛfrəns/

A pointer that tells the computer which piece of code should run when something happens.

The button stores an eventhandlerreference so it knows what to do when clicked.


OTHER MEANINGS

2. A variable holding the address of a function that responds to user actions.

She passed an eventhandlerreference to the click event.

3. A link in code connecting an event to the routine that handles it.

The eventhandlerreference was broken, so the menu never opened.

4. A stored pointer used to call the right handler when an event fires.

Clear the eventhandlerreference to stop receiving notifications.