google / google/material-design-lite

Disabled a part of the slider

Open
#5,251 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
32.2k
Forks
4.9k
PR merge metrics
No merged PRs in 30d

Description

I would like to ask if it's possible to make a part of the slider disable ?
Which will look like :

[![enter image description here][1]][1]

[1]: https://i.stack.imgur.com/SzFjn.png

https://jsfiddle.net/2b6zoprf/

In this exemple, the slider will start at 0 but in the range of 0 to 172 we can't access it, so the new minimum is 172.
Maybe I need to use a second slider ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.