0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00

The element on: directive anchorwas pointing to the component on: directive anchor.

Fixes #3138
This commit is contained in:
Luca Bonavita 2019-06-30 15:51:50 +01:00 committed by Conduitry
parent 80ef6f190d
commit 0eb86d2a13

View File

@ -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}