Giter Site home page Giter Site logo

Comments (6)

danielcrisp avatar danielcrisp commented on August 18, 2024

I think it should work with a decimal but I've just tried your scenario and it isn't working for me either... I suspect it might be a rounding issue

from angular-rangeslider.

jdmarsh avatar jdmarsh commented on August 18, 2024

Adding the attribute decimal-places="1" to the range slider resolves this for me

from angular-rangeslider.

romain10009 avatar romain10009 commented on August 18, 2024

yes i did the same. decimal-places="1"

from angular-rangeslider.

cmperez avatar cmperez commented on August 18, 2024

I'm trying to create several sliders with ng-repeat. When I try to dynamically set the decimal-places (some need to be 0, some need to be 1), none of sliders step by the correct increment.

Even when I specifically set decimal-places to 0 for each slider, the step gets overwritten, defaulting to 1.

from angular-rangeslider.

j-cornelio avatar j-cornelio commented on August 18, 2024

HI THERE

how about for smaller decimal values. like from 0 - 1 ( 0.3, 0.5, 0.8 )

from angular-rangeslider.

ccdle12 avatar ccdle12 commented on August 18, 2024

Hi,
decimal-places="1"
Will work for a range of 0 -1, so you will see 0.9 ,0.8, 0.7 etc... when moving th max slider down

from angular-rangeslider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.