Skip to content

Added more support for HTML5 input elements, added allowFractions option#77

Open
odbol wants to merge 5 commits intoaterrien:masterfrom
odbol:master
Open

Added more support for HTML5 input elements, added allowFractions option#77
odbol wants to merge 5 commits intoaterrien:masterfrom
odbol:master

Conversation

@odbol
Copy link

@odbol odbol commented Mar 5, 2013

Added support for HTML5 input attributes like min, max.

Added allowFractions option to avoid rounding the result for higher-precision results.

Added a CSS class to the wrapper element so it can be styled easier.

@YOMorales
Copy link

Hi. So, I copied your changes and then set the knobs' values (and max parameters) to be fractions, but the knobs still were rounded.

@YOMorales
Copy link

Also, the circular bar that fills according to the value stopped showing.

@odbol
Copy link
Author

odbol commented Mar 15, 2013

Oops, sorry about that @YOMorales . Should be fixed now.

@odbol
Copy link
Author

odbol commented Mar 15, 2013

Oh but I don't think it will automatically turn to fractions if you use fractions in the min and max. Maybe you could add that in?

@YOMorales
Copy link

I have done some hacks in the past weeks (mostly for a commercial project I'm working); let me see when I can cleanup them and push them here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments