半圆的颜色 [英] Half color of roundslider

查看:116
本文介绍了半圆的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用

推荐答案

根据文档: http://roundsliderui.com/document.html#width


width
表示滑块的宽度(或厚度)。

width Indicates the width (or thickness) of the slider.

所以,也许可以尝试这样:

So maybe try this:

$("#slider").roundSlider({
  sliderType: "min-range",
  radius: 160,
  startAngle: 90,
  endAngle: 216,
  min: 0,
  max: 35,
  value: 0,
  width: 15,
  handleSize: "20,0",
  handleShape: "square",
  change: "valueChange",
  drag: "valueChange"
});

宽度属性从 30 到 15 应该更改滑块的宽度。

Changing the width property from 30 to 15 should change the width of the slider.

这篇关于半圆的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆