summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMario Schlicht <mario.schlicht@tracetronic.de>2022-01-18 08:01:58 +0100
committerMario Schlicht <mario.schlicht@tracetronic.de>2022-01-18 08:01:58 +0100
commit5098597cb14df8a0be9249fcabbdf5b6d126cd85 (patch)
tree89fff4e0144e3f4d8e60e0a75964e4e8c34c8e9c /src
parent480e5d77e2dcefd6bc4f95a053bb545d9916eb72 (diff)
downloadsvg.js-5098597cb14df8a0be9249fcabbdf5b6d126cd85.tar.gz
svg.js-5098597cb14df8a0be9249fcabbdf5b6d126cd85.zip
Add parameter "options" to EventTarget.off()
- additional: Typescript-Interfaces for off() functions updated
Diffstat (limited to 'src')
-rw-r--r--src/types/EventTarget.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types/EventTarget.js b/src/types/EventTarget.js
index 6889605..58f5d5c 100644
--- a/src/types/EventTarget.js
+++ b/src/types/EventTarget.js
@@ -39,8 +39,8 @@ export default class EventTarget extends Base {
}
// Unbind event from listener
- off (event, listener) {
- off(this, event, listener)
+ off (event, listener, options) {
+ off(this, event, listener, options)
return this
}