Skip to content

How to show floats based on the labels #7

Closed
@abishekrsrikaanth

Description

@abishekrsrikaanth

Based on the below image, if you notice, the label is different from that of the float that is showing up (Label: 30, Float: 3).

The code that I have used to generate this slider is

$('.goal-slider').slider({
            rest: 'label',
            max: 13,
            min: 1,
            value: 3
        }).slider('pips', {
            rest: 'label',
            labels: ['10', '20', '30', '40', '50', '75', '100', '125', '150', '175', '200', '250', '300']
        }).slider('float');

How can I make the floats to show the same as the labels on the slider.

Alt text

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions