The Twin Towers

The first argument indicates the type of an event, the second argument is a listener, and the third argument defines an event phase (so-called “bubbling” or “capturing”). The reason why the last argument exists is because most DOM events traverse the DOM tree from document node to target node (capture phase) and back to the document node (bubble phase).
This process is called “event flow” and brings several powerful features. LIVE AND DELEGATED EVENTS Instead of attaching a handler for each element in a group, we can attach one listener onto an ancestor shared by all of the elements in that specific group. Then, we can determine where an event took place using the target property of the event object, passed into the listener. This is known as “event delegation”:

 

Info

Sede operativa
Vangi Eugenio sas di Vangi Alberto
Via Pistoiese 149 50058 San Piero a Ponti – Signa
Firenze – Italy

Outlet
Vangi Outlet
Via Pistoiese 149 50058 San Piero a Ponti – Signa

flag_itaflag_itaflag_itaflag_ita


Servizio Clienti

Il nostro Servizio Clienti è a vostra disposizione:
Tel +39 055 8999282
Fax +39 055 8999282
Lunedì - Venerdì 09:00 / 12:30 - 14:30 / 18:30 (Ora italiana)

Contatti via EMAIL
Per inviare una email di richiesta informazioni a info@vangi.com.

Vangi Eugenio sas di Vangi Alberto – P.iva IT02162850487
Email info@vangi.com - Tel. +39 055 8999282