xiel / embla-carousel-wheel-gestures

wheel interactions for Embla Carousel
https://embla-carousel-wheel-gestures.xiel.dev/react.html
MIT License
57 stars 9 forks source link

Convert to Plugin #144

Closed xiel closed 2 years ago

xiel commented 2 years ago

Embla has a plugin system now.

Convert this to use the new plugin API.

davidjerleke commented 2 years ago

Nice! We also need to add it to the documentation website šŸ‘šŸ».

davidjerleke commented 2 years ago

We should also remember to add an example to the examples page on the documentation website šŸ™‚.

My second child was born a week ago so Iā€™m going to be pretty busy for a period of time šŸ˜…. @xiel, do you want me to add you to the embla-carousel CodeSandbox group?

Let me know if I can help in any way. Thank you for your awesome work on this package.

Cheers, David

xiel commented 2 years ago

@davidcetinkaya Wow, congrats! Take your time šŸ‘¼

I'll try to convert it into a plugin the next few days and use your Autoplay plugin as an implementation guide. I will definitely notify you if I run into any problems, but please do not feel pressured to answer swiftly, there are more important things in life.

I have not worked with CodeSandbox Groups yet, do you have a link to it? If I can add examples there, sure add me šŸ‘

davidjerleke commented 2 years ago

Thanks @xiel, I've invited you to the team now. I used your GitHub profile email. Feel free to change and/or update other sandboxes if you want, I trust you šŸ™‚.

davidjerleke commented 2 years ago

Hello again Felix (@xiel),

I've created a page for the Wheel Gesture plugin here. Feel free to add content to it if you want šŸ™‚.

Cheers, David

xiel commented 2 years ago

Awesome, the conversion to a proper plugin is released as version v2.0.0. It was a pretty easy transformation and really cool that you only destroy & re-init when options change :)

I'll send you a PR for the page in the docs tomorrow evening.

Cheers, Felix