Pergunta de entrevista da empresa Close

Q: What is event bubbling?

Resposta da entrevista

Sigiloso

13 de abr. de 2024

Event Bubbling is a concept in the DOM (Document Object Model). It happens when an element receives an event, and that event bubbles up (or you can say is transmitted or propagated) to its parent and ancestor elements in the DOM tree until it gets to the root element.