From 45574b2699cde3d316b98a79c64148f7e191cc03 Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Sat, 7 Apr 2018 23:25:39 +0300 Subject: [PATCH] add eventtarget to doc --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 417908d..e70125c 100644 --- a/README.md +++ b/README.md @@ -608,6 +608,10 @@ NOTE: This implementation has some minor deviations from the above standard. Specifically there is no static `EventEmitter.defaultMaxListeners` property. However the dynamic one persists and is infinite (`0`) by default. +Also +[EventTarget](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget) +is implemented. Not in full detail, but should be fine for callers. + An example can be found in **examples/node-addon** directory. There is `Example` class, implemented in **cpp/example.cpp**, that inherits EventEmitter behavior and is exported to JS.