Skip to content

Releases: dhershman1/vue-debounce

v2.0.0

24 Jul 14:49
12058f4
Compare
Choose a tag to compare

BREAKING CHANGES

  • Now using the addEventListener method attached to the given el to properly set the event rather than overriding the native callback (#8)
    • This means your events should now be keyup instead of onkeyup

Improvements

  • Some slight code clean up
  • Dev Dependency audits and updates

v1.3.0

20 May 20:35
c54836d
Compare
Choose a tag to compare
  • Added new defaultTime option for #5

v1.2.0

24 Apr 20:19
1d09e90
Compare
Choose a tag to compare
  • Added ability to send an array of events to have the elments listen to
  • Removed deprecated keyCode in favor of just key
  • listenTo is no longer case sensitive
  • Added ability to listen for the debounce-events attribute

v1.1.0

08 Feb 17:53
Compare
Choose a tag to compare
  • Tweaked the Syntax of the debounce function
  • Added additional tests
  • Updated dependencies
  • Added ability to set the event to listen to in options

v1.0.0

16 Nov 16:21
Compare
Choose a tag to compare

No breaking changes introduces with a 1.0 release. I just feel like it's pretty close to just complete as there isn't much more needed.

  • Some small tweaks to code nothing breaking
  • Removed the long deleted min from the regex check
  • Removed unused code
  • Mainly to just get it to v1.0.0 no breaking changes added

v0.2.0

27 Jul 18:23
Compare
Choose a tag to compare
  • Slight Tweaks to optimization
  • Removed unused data pieces
  • Switched the event to keyup instead of input for key events
  • Added some options and modifiers support (See next tick)
  • Pressing enter on a debounced input now automatically fires the desired function
    • You can disable this by using the .lock modifier on the directive
    • You can also disable it by passing lock to the directive as an option, however this will disable it for ALL debounced inputs
    • If you are using the lock option and want to make an exception for an input you can use the .unlock modifier to do so
  • Removed support for minutes

v0.1.1

29 Jun 17:05
Compare
Choose a tag to compare
  • Fixed issue when we didn't default to milliseconds if no format is specified

v0.1.0

29 Jun 17:03
Compare
Choose a tag to compare

Initial Release