Skip to content

Releases: IamAdamJowett/angular-click-outside

Docs, no ID and callbacks

26 Jan 04:18
Compare
Choose a tag to compare
  • Shortened bower description to remove bower warning on install (thanks @jcubic)
  • Thanks to @Lorelei for the pull request to pass the event back in the callback function
  • Thanks to @CosticaPuntaru for the improvement to now allow the directive to no longer need an id on the element for this to work
  • Added basic ngdocs documentation
  • Removed the addition of the element id to the classes array as now it no longer needs to be checked

Click outside without the need for an id

20 Sep 14:16
Compare
Choose a tag to compare

Thanks to @CosticaPuntaru for the suggestion to remove the need for the element the directive is attached to require to have an id. Directive can now be added to an element and assumed it will be excluded whether it has an id or not.

Removal of console.logs

15 May 00:36
Compare
Choose a tag to compare
v2.8.3

Version 2.8.3

Added support for more than two class exclusions

12 May 00:20
Compare
Choose a tag to compare
  • Thanks to @mariomc for the fix if there is more than two classes to exclude and to @bramvandenbussche and @lamigue for also spotting it
  • Stopped running through class checking if element clicked on has no classes or id's to improve performance
  • Updated README
  • Published latest repo with main.js to npm to allow webpack usage
  • Added file input type to example to show functionality
  • Updated readme detailing excluding element that directive is on

Added require support thanks to @apansky

08 Apr 06:41
Compare
Choose a tag to compare

Thanks to @apansky for adding reference to the main js file to allow it the be required.

Bug fix to allow links to be followed

10 Mar 04:59
Compare
Choose a tag to compare

Thanks to @fela98 for the following change:

The fix is to not return the value returned by the angular expression passed to clickOutside. I am not aware of any other use for the return value of the expression, I therefore removed the return value completely.

Absolute class checks, timeout delay for dynamic id creation

25 Feb 13:53
Compare
Choose a tag to compare

This release includes an addition of a timeout to allow for dynamic id creation. Also reverts back to absolute rather than index of checks on id's and classes for cases where parts of a class or id name listed in outside-if-not was contained in other elements classes or id's.

Cater for touchscreen laptops, fix event deregistering, revert class check code

25 Feb 01:09
Compare
Choose a tag to compare

This release is an attempt to cater for touchscreen laptops (where they have both touch and click available), reverting to class and id check loop code back to 2.2.1 version to solve bugs reported by @rbnvrw.

Improved example code

21 Feb 04:13
Compare
Choose a tag to compare
v2.4.5

Version 2.4.5

Updated the example app with more use cases

21 Feb 04:07
Compare
Choose a tag to compare