summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rwxr-xr-xREADME.md10
1 files changed, 2 insertions, 8 deletions
diff --git a/README.md b/README.md
index 9557c35..698a0ab 100755
--- a/README.md
+++ b/README.md
@@ -2625,15 +2625,9 @@ SVG.off(window, 'click', click)
```
### Custom events
-You can even create your own events.
+You can even use your own events.
-The only thing you need to do is register your own event:
-
-```javascript
-SVG.registerEvent('my:event')
-```
-
-Next you can add an event listener for your newly created event:
+Just add an event listener for your event:
```javascript
rect.on('my:event', function() {
alert('ta-da!')