This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
feat(slider): Implement continuous slider #487
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prototype implementation of continuous slider (implementing #25)
I am working on a project that needs a continuous slider but notice the core team are not due to work on an mdc-slider component for some while. As I have created a component for my own use, I thought I would create a pull-request of the work I have so far in case it is useful enough to be incorporated earlier or if not, then it may at least be useful to the core team when they can start work on the slider component.
The continuous slider has been prototyped in Chrome, Firefox, IE, and iOS Safari (for touch awareness) and was heavily influenced by the concepts in the MDL v1 slider. It tries to follow examples and techniques from other mdc-components already in the material-components-web, but if you do wish to eventually incorporate it into the library it quite likely needs several iterations and or consultation/guidance on how to refine it and make it ready for production.
Let me know if it is useful and if you wish to take it further.