they're not attributes

pull/9449/head
Rich Harris 3 years ago
parent b575d37dca
commit 82cf973fb3

@ -0,0 +1,5 @@
---
title: Event handlers
---
To add an event listener to an element, add the corresponding `on` property:
Loading…
Cancel
Save