Skip to content

Commit 63c6f08

Browse files
Update 2-ui/2-events/02-bubbling-and-capturing/article.md
Co-authored-by: Simone Pasini <66781510+pasor1@users.noreply.github.com>
1 parent fdaf88f commit 63c6f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/2-events/02-bubbling-and-capturing/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Per esempio, qui `body.onclick` non funziona se clicchiamo su `<button>`:
9696
```smart header="event.stopImmediatePropagation()"
9797
Se un elemento ha gestori multipli su un singolo elemento, allora se uno di questi interrompe il *bubbling*, gli altri continuano ad essere eseguiti.
9898
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.
100100
101101
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.
102102
```

0 commit comments

Comments
 (0)