GithubHelp home page GithubHelp logo

Comments (11)

ValentinH avatar ValentinH commented on June 13, 2024

Anyone is using this library with Ionic? I need to know if this is still an issue or not.

from angularjs-slider.

ValentinH avatar ValentinH commented on June 13, 2024

Can you provide more information? Installation should not be a problem because I know that they are people using it (like @madhur in #178). My question was more about specific bugs they were detected only with ionic.

from angularjs-slider.

gbmeow avatar gbmeow commented on June 13, 2024

I had an issue with slider in Ionic - the problem was solved below: It works awesome other then that

Instead of:

 rz-slider-ceil="250000"
 rz-slider-step="1000"

I replaced with:

 rz-slider-options="options"

Inside
this.valueRange - was always 0

offsetToValue: function (offset) {
          return (offset / this.maxPos) * this.valueRange + this.minValue;
        },

from angularjs-slider.

ValentinH avatar ValentinH commented on June 13, 2024

@georgebatalinski indeed with version 2, floor and ceil should be defined in options.
I don't understand what was the issue with this.valueRange?

from angularjs-slider.

gbmeow avatar gbmeow commented on June 13, 2024

Good to know :) The way I found the way to solve it, is when I noticed that this.valueRange == 0 with the following setup:

rz-slider-ceil="250000"
 rz-slider-step="1000"

from angularjs-slider.

ValentinH avatar ValentinH commented on June 13, 2024

So is there still a problem? I'm not sure to understand...

from angularjs-slider.

gbmeow avatar gbmeow commented on June 13, 2024

no problem :)

from angularjs-slider.

JMoli avatar JMoli commented on June 13, 2024

I am getting white screen of death on Android with Ionic 1.7.14 when I include rzModule.

from angularjs-slider.

ValentinH avatar ValentinH commented on June 13, 2024

@JMoli What error do you get?

from angularjs-slider.

JMoli avatar JMoli commented on June 13, 2024

@ValentinH the problem was a bad path declaration with a forward slash. This made it work with ionic serve, but not on my android device. I have not tested with IOS but this works with android platform in ionic for me no problems!

from angularjs-slider.

ValentinH avatar ValentinH commented on June 13, 2024

I'm closing it for now since I've seen several people using this slider along with Ionic without having issues.

from angularjs-slider.

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.