sgwilym / windups

A unique typewriter effect library for React.
https://windups.gwil.co
MIT License
872 stars 17 forks source link

What is a good approach to implementing a "backspace" or "reverse" feature? #39

Open charlesprescottcollins opened 2 years ago

charlesprescottcollins commented 2 years ago

Rewind starts the loop over from the beginning, but what would be a good approach to backing up a few characters?

A use case would be emulating the backspace button for typed text.

sgwilym commented 2 years ago

I have something unreleased for this, and it turned out to be far more complex than I expected because of all the cases I wanted to be able to handle. It's going to need a big new release with new docs, so thank you for your patience!

liho00 commented 2 years ago

+1