- Package is now a fully ESM-compliant module
- Improved TypeScript definitions
- Hammer.js is no longer a dependency due to the lack of maintenance. It has been ported to TypeScript and incorporated into mjolnir.js' code base. This will allow us to better address bugs and security issues moving forward.
- Update events option type
- Update events option type
- Fix type imports
- Fix infinite loop (#8)
- fix: build config and import paths
- chore: switch to @vis.gl/dev-tools and CI release
- ES module
- Improved TypeScript definitions
- Hammer.js is no longer a dependency due to the lack of maintenance. It has been ported to TypeScript and incorporated into mjolnir.js' code base. This will allow us to better address bugs and security issues moving forward.
- Remove use of deprecated MouseEvent.which property (#1)
- Fix hammerjs import (#103)
- Better types for event handler
- Export additional types
- Migrate to TypeScript (#95)
- Bootstrap for typescript migration (#93)
- Drop esnext entry point (#87)
- Fix duplicate right click events when using multiple managers (#86)
- Remove deprecated Firefox scroll event (#81)
- Fix event.offsetCenter when root element is 0x0 (#82)
- Support 3-finger pan events (#69)
- Unblock pinch gesture when panning (#59)
- Add tabIndex option; change default to 0 (#55)
- Add
eventManager.watch
(#56)
- Add priority option to event handlers (#54)
- Revert "Avoid crash if imported in a web worker (#29)" (#49)
- Use ocular-dev-tools (#43)
- Add EventManager.once (#46)
- Fix undefind userAgent (#40)
- fix bug where tap threshold is not working (#36)
- add anyclick event (#32)
- Remove passive event listener warning in Chrome (#31)
- Avoid crash if imported in a web worker (#29)
- add support for pointerover, pointerout events (#25)
- fix node 9+ support (#27)
- Deprecate
legacyBlockScroll
andrightButton
options
- Add
event.stopImmediatePropagation
(#26)
- Refactor event handling (#23)
- Fix dblclick delay (#24)
- NEW: Provide static browser/node targets (#22)
- FIX: Remove commonjs to fix the problem with cjs/esm interop (#20)
- NEW: A new option
touchAction
to EventManager that allows users to customize browser touch actions - NEW: Supports new event
contextmenu
- NEW: A new option
legacyBlockScroll
to EventManager that allows users to restore the default scroll behavior on wheel events
- FIX: Missing
dist-es6
in package
- FIX: EventManager.destroy throws error if element is empty (#9)
- NEW: Make DOM element optional in EventManager constructor (#8)
- FIX: test failure under Node
- Only fire keyboard events within the target element (#4)
- Add flags for mouse buttons to event object (#5)
- Support right mouse button gestures (#2)
- Block click event if double clicking (#3)
- Add propagation system (#1)