Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

event delegation

handling descendant interactions with a listener on a shared ancestor.

A little more detail

For a bubbling event such as click, the ancestor can inspect the target to identify the relevant control. This also handles descendants added later. Check the target and its ownership carefully, and use real interactive HTML controls for keyboard behavior.

See it in practice

These lessons pair the idea with examples you can change and run.