From 4c1fe3fcf0f6f80524064b6a77118b31eec28f4f Mon Sep 17 00:00:00 2001 From: Marcin Wicha Date: Mon, 29 Jun 2020 20:21:04 +0200 Subject: [PATCH] Update docs. --- site/content/docs/02-template-syntax.md | 1 + 1 file changed, 1 insertion(+) diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 070dc46687..085a4775c5 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -470,6 +470,7 @@ The following modifiers are available: * `preventDefault` — calls `event.preventDefault()` before running the handler * `stopPropagation` — calls `event.stopPropagation()`, preventing the event reaching the next element +* `stopImmediatePropagation` - calls `event.stopImmediatePropagation()`, preventing other listeners of the same event from being fired. * `passive` — improves scrolling performance on touch/wheel events (Svelte will add it automatically where it's safe to do so) * `capture` — fires the handler during the *capture* phase instead of the *bubbling* phase * `once` — remove the handler after the first time it runs