Skip to content

Releases: yaohaixiao/delegate.js

2.1.0

22 Jul 23:45

Choose a tag to compare

Features

  • 添加 at() 和 only() 方法;
  • 调整 trigger() 方法,支持 at() 绑定的自定义事件; (6951f4c)

2.0.0

03 Jul 01:15

Choose a tag to compare

Features

  • core 版本添加 click()、mouseenter()、mouseleave()、change()、createEvent() 和 trigger() 方法 (7c59c3b)

1.9.3

27 Jun 02:57

Choose a tag to compare

Bug Fixes

  • 修复 API 文档中错误的 cdn 调用地址 (3eda32b)

1.9.2

27 Jun 02:33

Choose a tag to compare

Bug Fixes

  • 修复 API 文档中错误的 cdn 调用地址 (3eda32b)

1.9.1

26 Jun 06:22

Choose a tag to compare

Bug Fixes

  • 处理 off() 和 purgeElement() 方法,esm 模块循环调用的问题 (53fcd82)

1.9.0

12 Apr 03:23

Choose a tag to compare

Features

  • 添加 delegate.js 的 core 版本,仅提供 on()\once()\off()\purge()\destroy() 5个核心方法; (7d78da7)

1.8.2

31 Mar 02:46

Choose a tag to compare

Bug Fixes

  • 修改 on() 方法中 IE11不支持的 Array.prototype.includes 为 indexOf;并且去掉 on() 方法中 target === delegateTarget 的判断; (feac774)

1.8.1

24 Mar 07:06

Choose a tag to compare

Bug Fixes

  • 修复 hasEvent() 未传递 type 参数结果错误和 destroy() 方法解除绑定不完全的问题; (78a4e0c)

1.8.0

22 Mar 11:36

Choose a tag to compare

Features

  • 添加 createEvent() 和 stopImmediate() 方法,并添加 stopImmediate() 方法的单测和相应的 API 实例 (9978d9b)

1.7.0

22 Mar 08:46

Choose a tag to compare

Features

  • 添加常用的内置事件方法:dbclick\mousedown\mouseup\change\keydown 等; (a5990bc)