From 0eb86d2a135acb031c5cb3b6c923e275fb131e2e Mon Sep 17 00:00:00 2001 From: Luca Bonavita Date: Sun, 30 Jun 2019 15:51:50 +0100 Subject: [PATCH] The element on: directive anchorwas pointing to the component on: directive anchor. Fixes #3138 --- site/content/docs/02-template-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 981224fc14..f8c79bca47 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -354,7 +354,7 @@ The `{@debug}` tag without any arguments will insert a `debugger` statement that As well as attributes, elements can have *directives*, which control the element's behaviour in some way. -#### [on:*eventname*](on_component_event) +#### [on:*eventname*](on_element_event) ```sv on:eventname={handler}