flatpickr / flatpickr

lightweight, powerful javascript datetimepicker with no dependencies
https://flatpickr.js.org
MIT License
16.14k stars 1.46k forks source link

AngularJS addon #126

Closed agaurav closed 8 years ago

agaurav commented 8 years ago

Firstly, it's a great lib and a much needed one. For use with my angular project I have created an angular add-on here https://github.com/archsaber/angular-flatpickr.
If it fits the general expectations then please add this to add-on list in the readme so that others can use/improve it as well. Thanks.

axetroy commented 8 years ago

hello Angular member! It is cool! I fall in love it when I see it at first time.

no one data-pick can be so lightweight and modernize in the community..

I was planning to warp this with Angular for using in my project.

happy you have do this...

chmln commented 8 years ago

Hello,

Thanks for a much needed angular addon. :+1: Angular 1.x is still quite popular. I'll definitely add a link to the README.

What are your thoughts on angular 2 ?

agaurav commented 8 years ago

@chmln I am waiting for the 1st production release of angular2 to come out. After that I will start migrating my projects to it and this addon as well. It's a bit early to worry about it as currently a lot of other required libs are either missing or not upto production level (material2 guys are still saying at least 6 month for 1st beta ). Btw are you planning to port it to TypeScript & ES6?

@axetroy thnx :)

chmln commented 8 years ago

@agaurav Much of the source code is already in ES6.

I converted the plugin to an ES6 class at some point, but there were more cons than pros, so I kept the current implementation.

Always interesting to hear some insights. Link will be in readme soon.

Thanks for contributing.