worka / vanilla-js-wheel-zoom

Image resizing using mouse wheel (pinch to zoom) + drag scrollable image (as well as any HTML content)
https://worka.github.io/vanilla-js-wheel-zoom
MIT License
163 stars 30 forks source link

TypeScript folk of vanilla-js-wheel-zoom, with ES Modules and UMD support. #48

Open AaronNGray opened 8 months ago

AaronNGray commented 8 months ago

TypeScript folk of vanilla-js-wheel-zoom, with ES Modules and UMD support.

https://github.com/AaronNGray/vanilla-ts-wheel-zoom

worka commented 8 months ago

Will you support changes from the original vanilla-ts-wheel-zoom? :)

AaronNGray commented 8 months ago

You have three options :-1 1) you can take it over 2) I can give you access to the repo 3) I can maintain the repo

The reason I TypeScript'ed it was I wanted a reference starting point for a React component for my project, so I will probably be keeping the lower levels of your code with modifications and replacing the top level code with a different API, and then a React Compoent layer.

worka commented 8 months ago

I think better that maintain remains with you :)