ctrl-freaks / freezeframe.js

freezeframe.js is a library that pauses animated .gifs and enables them to animate on mouse hover / mouse click / touch event, or with trigger / release functions.
http://ctrl-freaks.github.io/freezeframe.js/
MIT License
1.41k stars 111 forks source link

Porting to angular/ typescript #67

Closed steveboy199 closed 4 years ago

steveboy199 commented 4 years ago

Any change there will be a port to angular/typescript.

nickforddev commented 4 years ago

I'm definitely open to porting to TypeScript and providing types for the libraries, and once that is done, I'm sure an Angular version wouldn't be too difficult to put together.

nickforddev commented 4 years ago

I've ported FreezeFrame core to TypeScript just now in #68, expect a release of that in the near future. Probably I will prioritize bringing TS to the existing packages, then will look into an Angular version.

steveboy199 commented 4 years ago

Thanks for the port nick, I was able to get freeze frame to work with angular 4.

jprinsloo commented 4 years ago

Thanks, nick. This also works for Ionic projects (tested on Ionic v3/Angular 5). Any idea when #68 will be merged?

nickforddev commented 4 years ago

I just did some final cleanup and merged #68. I'd recommend using version 5.0.0-beta.1 for now, as I fixed some things with type declarations etc.

I will soon be porting vue-freezeframe and react-freezeframe to TS, if anyone wants to contribute an Angular version I'm open to it!

nickforddev commented 3 years ago

@jprinsloo sorry it took such a long time, but I finally got around to finishing angular-freezeframe