chieffancypants / angular-hotkeys

Configuration-centric keyboard shortcuts for your Angular apps.
http://chieffancypants.github.io/angular-hotkeys/
MIT License
1.68k stars 248 forks source link

angular-hotkeys for Angular 2? #215

Closed sebhildebrandt closed 8 years ago

sebhildebrandt commented 8 years ago

Hi, first of all: GREAT component, thank you for your work. My question: du you have plans to implement a angular 2 version? I know, this will require more or less a complete rewrite ... but still I am interested to know. Otherwise I guess I need to dig into writing a small alternative (which will definitely not be that fancy!!!!) ;-) Regards

chieffancypants commented 8 years ago

No plans yet. I don't have enough real-world experience with angular2 to write something that I would feel confident about deploying into production. Will likely happen at some point though.

The real question is whether that becomes a separate repo, or a new branch that eventually becomes master. Have you seen any other components making this transition?

brtnshrdr commented 8 years ago

I have started a rewrite for angular 2 here: https://github.com/brtnshrdr/angular2-hotkeys Feel free to check it out and report any bugs or submit any pull requests!

k11k2 commented 7 years ago

@chieffancypants is there any plan to support angular 2 ? much needed one.

brtnshrdr commented 7 years ago

@AlwaysAbhl001 I've created an Angular 2 version, similar to this project. It's available here: https://github.com/brtnshrdr/angular2-hotkeys

k11k2 commented 7 years ago

@brtnshrdr could you provide perfect example for this.

and could pls you guide regarding this issue. TypeError: core_1.InjectionToken is not a constructor

exports.HotkeyOptions = new core_1.InjectionToken('HotkeyOptions'); -- library File

For more info: TS2305: Module '"~/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

image

image