Skip to content

Releases: canjs/can-dom-events

v1.1.4

02 Apr 16:05
Compare
Choose a tag to compare

Changed can-globals dependency back to fix compatibility with canjs 3.0 #49

1.1.3

05 Mar 15:55
Compare
Choose a tag to compare

Support Edge 14

Edge 14 has no support for Element.prototype.matches but it implements the same functionality as Element.prototype.msMatchesSelector.

1.1.2

02 Mar 20:09
Compare
Choose a tag to compare

Fixes cur.matches is not a function error

See #41

Update to latest dependencies

29 Jan 03:39
6df719a
Compare
Choose a tag to compare
Merge pull request #40 from canjs/deps-updates

updates deps to latest

v1.0.7

01 Dec 20:36
Compare
Choose a tag to compare

Change the can-globals semver range to <2.0.0 #34

Fragmeant

06 Nov 14:47
Compare
Choose a tag to compare

This patch release adds recognition of DocumentFragments as DOM Event Targets. (Note: the changes are in 1.0.5 but somehow releases got jumbled up and there was an existing 1.0.5.)

Updated docs and added cycle detection

31 Oct 20:58
Compare
Choose a tag to compare
  • Add a cycle detection script to test process #30
  • Update docs with new @parent & @collection #31

v1.0.4...v1.0.5

v1.0.4

03 Oct 00:59
Compare
Choose a tag to compare
  • Update testee to 0.7.x #23
  • Add @Package to the docs #24
  • Remove generated README #25
  • Remove can-util in favor of can-globals #26, #27

v1.0.3...v1.0.4

Compatible Conflicts

26 Jun 16:50
Compare
Choose a tag to compare

Fixed #20 with #21, to improve the compatibility layer for events.

Major Event

26 Jun 16:57
Compare
Choose a tag to compare

This is now a real project, which is a replacement (along with can-event-dom-* events) for can-util/dom/events. So here are the steps to migrate from that to this.

- var domEvents = require('can-util/dom/events/events');
+ var domEvents = require('can-dom-events');
- domEvents.addEventListener.call(target, eventType, handler);
+ domEvents.addEventListener(target, eventType, handler);
- domEvents.removeEventListener.call(target, eventType, handler);
+ domEvents.removeEventListener(target, eventType, handler);
- domEvents.dispatch.call(target, eventType, eventArgs, bubbles);
+ domEvents.dispatch(target, eventType | eventData, bubbles);

The docs have even more cool stuff, check 'em out!