You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Se un elemento ha gestori multipli su un singolo elemento, allora se uno di questi interrompe il *bubbling*, gli altri continuano ad essere eseguiti.
98
98
99
-
In altri termini, `event.stopPropagation()` interrompe il *bubbling* da lì in poi, ma sull'elemento attuale tutti gli altri gestori verranno eseguiti.
99
+
In altri termini, `event.stopPropagation()` interrompe il *bubbling* da lì in poi, ma tutti gli altri gestori assegnati all'elemento corrente verranno eseguiti.
100
100
101
101
Per interrompere il *bubbling* ed evitare di eseguire i gestori sull'elemento attuale, c'è il metodo `event.stopImmediatePropagation()`. Dopo di esso non verrà eseguito nessun altro gestore.
0 commit comments