Skip to content

Releases: PierreDuc/ng-event-options

18.0.0 Angular 18 support

05 Jun 10:29
Compare
Choose a tag to compare
Update to angular 18

Angular 11 support

04 Feb 06:59
Compare
Choose a tag to compare
11.0.0

{ Core } - Fix travis build

3.2.0 # Debounce or Throttle

30 Jan 11:40
Compare
Choose a tag to compare
  • Added debounce and throttle options

Example:

<div (click.*|th[100,1])="onClick($event)">

This will throttle the event every 100ms, with an immediate fire (1)

3.1.6 # Making sure

27 Dec 08:44
Compare
Choose a tag to compare

Bug fixes:

  • Trim whitespace from event options
  • Set singleRun to true for travis ci

Features:

  • Ability to add undefined listeners. Useful if you just want to stop an event, or prevent default browser behaviour
  • Added travis-ci support

3.0.0 # Even(t) more than expected

22 Dec 20:28
Compare
Choose a tag to compare
  • Move to ng-packagr
  • Proper unit tested
  • Implemented e2e tests
  • Improved speed
  • Use the 'b' to only attach the listener if you are inside the browser environment

2.1.0 # Universal

18 Dec 11:03
Compare
Choose a tag to compare

Added an extra option to only attach an event listener while running inside the browser. This can for instance be useful if your event is doing something with the window object

2.0.3 # Rework done

15 Sep 14:40
Compare
Choose a tag to compare

(sorry for the inconvenience)

Removed:

  • Generate lib
  • Generated directives
  • Event utilities

New features

  • Ability to use @HostListener
  • All browser events are now 'unlocked'
  • Cut down the size to almost nothing

Breaking changes:

  • Event options should be added using a . after the event, so no more adding strange attributes:

    <button (click.pcon)="onClick($event)">

  • Removal of the AddEventOptionsListener

Initiation

13 Sep 08:50
Compare
Choose a tag to compare

Initial release of ng.EventOptions. This fills the hole angular leaves open with no support for event options inside the template