dnauck / angular-advanced-searchbox

A directive for AngularJS providing a advanced visual search box
http://dnauck.github.io/angular-advanced-searchbox/
MIT License
226 stars 98 forks source link

any plan to move this component to Angular2? #46

Open fdu-axiometrics opened 8 years ago

dnauck commented 8 years ago

Does it help to port it from directive() to the new Angularjs 1.5 component() ?

Currently there is no plan/time schedule to rewrite it in TypeScript/Angular 2.0.

fdu-axiometrics commented 8 years ago

It will definitely be helpful to port to the new Angularjs 1.5 component(). It would be similar syntax compared to angular2.0.

mc-suchecki commented 8 years ago

Hey guys! I faced a similar problem a couple of days ago, so I am sharing what I came up with: https://github.com/mc-suchecki/angular-advanced-searchbox

The code was converted to Angular 1.5, TypeScript and SCSS, along with conversion from directive to component, so that could be helpful for you guys. However, please note that there are some pretty heavy changes, like: deletion of the timeout before model update (this implies usage of a search button), usage of underscore.js, font-awesome, dropped support for older versions of IE, injection of external service and more. Sorry for not making the code more generic, but considering limited amount of time, I needed to adapt the widget to my application quite fast. Forking the library was out of the question unfortunately. Anyway, my code might help you a bit.

@dnauck, if you want to use that as a base for possible future rewrite to ng2, please feel free, I would be flattered! Also, if you would like to collaborate on that, give me a hint, I might find some time to work on that. And thanks a lot for creating the library in the first place! :+1:

johaven commented 7 years ago

Any updates ?