From 93175b0a882032bed52617f73562795bf6493cf6 Mon Sep 17 00:00:00 2001 From: Wes Keiser <84772241+weskeiser@users.noreply.github.com> Date: Sun, 12 Nov 2023 15:27:42 +0100 Subject: [PATCH] Fix incorrect order of directives The event listener must be registered before the event is dispatched in order for this code snippet to work. --- documentation/docs/03-runtime/07-svelte-action.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/03-runtime/07-svelte-action.md b/documentation/docs/03-runtime/07-svelte-action.md index ebd4185774..b5670a6ee2 100644 --- a/documentation/docs/03-runtime/07-svelte-action.md +++ b/documentation/docs/03-runtime/07-svelte-action.md @@ -72,7 +72,7 @@ Sometimes actions emit custom events and apply custom attributes to the element } -
+ ``` ## Types