Make Blur and Gradient optional!
eqaderi opened this issue · 3 comments
Hi Michał,
This library is very awesome, animations are smooth and they look very fluent and beautiful. I think to make it much more better it would be great if you could make the Blur and Gradient effects optional, so that if a project overall styles requires the counter to be plain and simple without those fancy effects it would be possible and there would be no need to turn into other libreries like odometer.js ...
Do you think you will enable these as options?
Hi! The main reason I didn't use odometer.js and created this library was lack of those effetcs. I consider making them optional though, but in different way than by providing boolean flags.
For my use case, with 6 instances of bounty running in parallel on a single page, Safari on iOS actually couldn't handle the motion blur effects (the page crashed). Given that the number animation still looks very appealing without the motion blur, I think it would make sense to be able to toggle that somehow. Is there a particular reason that you would rather avoid boolean flags?
@fredrikekelund my idea was to allow compose motion effects rather than configure them, but at this moment API is more oriented toward configuration (at least without ground rework of the API, which may appear the earliest in the next version.). Are you happy to work on such PR?