Skip to content

Commit 73605fd

Browse files
Update article.md
1 parent 4c6132a commit 73605fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

2-ui/99-ui-misc/03-event-loop/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,11 @@ Adesso il `<div>` mostra via via, valori crescenti di `i`, una sorta di barra di
210210

211211

212212

213-
## Use case 3: doing something after the event
213+
## Caso d'uso 3: fare qualcosa dopo l'evento
214214

215-
In an event handler we may decide to postpone some actions until the event bubbled up and was handled on all levels. We can do that by wrapping the code in zero delay `setTimeout`.
215+
In un gestore di evento noi potremmo decidere di postporre alcune azioni, fino a che l'evento non risalga i vari livelli di stack (bubbling up) e non venga gestito su tutti questi livelli. Possiamo fare questo, avvolgendo (wrapping) il codice all'interno di `setTimeout` a latenza zero.
216216

217-
In the chapter <info:dispatch-events> we saw an example: custom event `menu-open` is dispatched in `setTimeout`, so that it happens after the "click" event is fully handled.
217+
Nel capitolo In the chapter <info:dispatch-events> we saw an example: custom event `menu-open` is dispatched in `setTimeout`, so that it happens after the "click" event is fully handled.
218218

219219
```js
220220
menu.onclick = function() {

0 commit comments

Comments
 (0)