Skip to content

Commit

Permalink
setCurrentDateWhenEmpty option added, which defaults to false
Browse files Browse the repository at this point in the history
* Initiate datepicker after pageload(i.e in timeout(0), this is used to solve many problems which were arising because of initialization before complete page load.
* altTarget and toggleTarget can be passed as raw string selectors, which are resolved after page load. This solves the problem when we don't have rightly evaluated selectors before page load.
* Fixes and enhancements to documentclick handler, should solve all issues related to clicks in dropdowns(it has some todo's)
* Pure JQuery dependency is added, .is and .has functions of JQUery were needed and we were short on time to find pure JS or JQlite alternatives for these JQuery functions. Removing this dependency is in TODO's.
* Better detection of toggleTarget with in altTarget, if it is so, than click on toggletarget will not trigger altTarget click.
'
  • Loading branch information
ziaulrehman40 committed Feb 9, 2017
1 parent eb74cf8 commit 7065add
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 158 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

* Angular v1.5.3+
* Moment v2.12.0+
* JQuery v1.6+

<b>Demo:</b> http://vickramravichandran.github.io/angular-datepicker-light/

Expand Down
Loading

0 comments on commit 7065add

Please sign in to comment.