diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 5b8a22f9bfde..d1b99aa8daa8 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -368,6 +368,25 @@ Components can emit events using [createEventDispatcher](docs#createEventDispatc --- +It's possible to have multiple event listeners for the same event: + +```html + + + +``` + +--- + As with DOM events, if the `on:` directive is used without a value, the component will *forward* the event, meaning that a consumer of the component can listen for it. ```html