question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi Léon!

Do you know a solution how I can fix this gap? mm4c2HZDFT

noUiSlider.create(pipsSlider, {
    range: {
        'min': [1,1],
        '40%': [7,1],
        '60%': [8,2],
        '80%': [16,4],
        'max': [32]
    },
    start: 0,
    connect: 'lower',
    tooltips: true,
    pips: {
        mode: 'values',
        values: [1,2,3,4,5,6,6,7,8,10,12,14,16,20,24,28,32],
        density: 4,
        stepped: true
    }
});

With another slider it works with the values and the steps without problems - what am I doing wrong with your range slider? Uz8YrREOQJ

$(".js-range-slider").ionRangeSlider({
    grid: true,
    grid_num: 10,
    values: [1,2,3,4,5,6,6,7,8,10,12,14,16,20,24,28,32],
    from: 10,
    postfix: " GB",
});

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
leongersencommented, Jul 24, 2022

I’ve updated the documentation with a more straightforward approach to doing this. Thanks for reaching out!

https://refreshless.com/nouislider/examples/#section-values

1reaction
leongersencommented, Jul 18, 2022

Yep, if you are generating the range, you’ll need to generate the percentages.

If you’d lead with that I’d probably have pitched a different approach (use a linear slider and map the output, see roughly this example).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Step 1 Sample Test Questions - USMLE.org
More than 100 sample Step 1 test questions are available in both PDF format and as an interactive testing experience.
Read more >
WHO STEPS Instrument Question-by-Question Guide
The purpose of the Question-by-Question Guide is to provide background information to the interviewers and supervisors as to what is intended by each...
Read more >
STEP questions database
Welcome to the STEP database website. logo. To find a question, or a year, or a topic, simply type a keyword in the...
Read more >
Preparing for STEP | Cambridge Assessment Admissions ...
You can find everything you need to prepare for STEP on this site, ... STEP past papers ... The question paper covers have...
Read more >
USMLE Step 1 Question Types: Two-Step Questions
USMLE two-step (also called double-jump) questions require several cognitive steps to arrive at a correct answer. Finding the correct answer ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found