Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize color, stroke-dasharray and circles of the slider #3

Closed
MaxKoldun opened this issue Feb 7, 2020 · 1 comment
Closed

Customize color, stroke-dasharray and circles of the slider #3

MaxKoldun opened this issue Feb 7, 2020 · 1 comment

Comments

@MaxKoldun
Copy link

Can i customize the slider to get the next result ?
image

@mnkhouri
Copy link
Owner

Hi @MaxKoldun

  • Stroke-dasharray: unfortunately this is not possible with this library. Usually, you can apply "stroke-dasharray" to an SVG Arc. However, in this library, I am not using an Arc. Instead, I draw the outer circle, the inner circle, and the two ends of the circle, and I use a Fill. I do this so we can have rounded ends on the tip of the circle:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants