Skip to content

Commit 82cf973

Browse files
committed
they're not attributes
1 parent b575d37 commit 82cf973

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sites/svelte-5-preview/src/routes/docs/content/01-api/04-event-attributes.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Event handlers
3+
---
4+
5+
To add an event listener to an element, add the corresponding `on` property:

0 commit comments

Comments
 (0)