From 70a2344a645e9cbad9991168313490bf4594ae43 Mon Sep 17 00:00:00 2001 From: Zhdanov Date: Wed, 7 Feb 2024 11:44:29 +0300 Subject: [PATCH] fix docs multiple actions section --- docs/reference/actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/actions.md b/docs/reference/actions.md index 5c7e909b..6aa43db3 100644 --- a/docs/reference/actions.md +++ b/docs/reference/actions.md @@ -274,7 +274,7 @@ When an element has more than one action for the same event, Stimulus invokes th The action chain can be stopped at any point by calling `Event#stopImmediatePropagation()` within an action. Any additional actions to the right will be ignored: ```javascript -highlight: function(event) { +highlight(event) { event.stopImmediatePropagation() // ... }