event handler
Trigger-activated code block
An event handler is a piece of code that responds when something specific happens in a program—a mouse click, a key press, a file finishing its download.
The handler waits for its designated event, then executes: The event handler updates the display whenever the user submits the form.
Also called a callback or listener.
Follow-up audition invitation
- listenerOne who attends aurally
- functionPurpose or duty
- triggerWhat initiates action
- onloadPage-ready trigger
keypress · mouseover · invoke · execute · bind · attach · register · dispatch
Entrust authority to another
- hookCurved catching device
- signalMessage-conveying cue
- slotNarrow slit for insertion
- middlewareInter-application bridging software
asynchronous · concurrency · decoupling · loose coupling · subscription
callback
Follow-up audition invitation
onload · keypress · mouseover · invoke · execute · bind · attach · register · dispatch · fire
delegate
Entrust authority to another
middleware · asynchronous · concurrency · decoupling · loose coupling · subscription
click
Brief sharp noise
hover · focus · blur · drag · drop · resize · submit · input · keydown · mousedown
- functionslinear function, function, quadratic function, polynomial function, exponential function
- programmingvariables, functions, for, function, debugger
- FlashAdobe Flash, ActionScript, movie clip, timeline, keyframe
- dependency injectioninjector, provider, service provider, resolver, wiring
- messagingmessage, text, chat, send, reply
- handlers