Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Define array of values to be used as steps. #163

Closed
@diegoponciano

Description

@diegoponciano

Sometimes I want to use a range with a non-linear list of steps.
Say I have a range from 0 to 60, and instead of equally sized steps, I want to step 5 by 5 until 30, and then 10 by 10 until 60.
I could manually define an array with these values: [5, 10, 15, 20, 25, 30, 40, 50].
There is a fork of an old version that does this, with a rz-slider-step-array option: https://github.com/hrishi1183/angular-slider-custom-rzslider-
Demo here: http://plnkr.co/edit/sUFdW4lulu2NQBvn9fq0?p=preview

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions