Skip to content

Digits option, support for non numeric characters and animation type #1

@petertenhoor

Description

@petertenhoor

Hi there.

I'm currently building a React application which uses multiple odometers with dynamic values. I have given your package a shot but ran into a few issues:

  • The digits option currently forces me to count the amount of characters in my digit. Shouldn't this be the responsibility of the Odometer React component?

  • Secondly I use comma's to make my digits easier to understand for my users (example: 1,000,000). Since the Component only understands digits I can't use comma's. Perhaps this is something that would be nice to add in the future.

  • The animation is currently linear. Some easing would make it look better in my opinion. Ofcourse I can overwrite the css, but perhaps an animation type option would be a nice enhancement.

Besides those issues, I really like the way you have written this component. The performance is great and it's the only Odometer out there that works with serverside rendering.

I'd like to hear your opinion!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions