jquery-ui-slider-pips 怎么用
1个回答
展开全部
//具体可参考官网文档
https://github.com/simeydotme/jQuery-ui-Slider-Pips
$('.element'慧态).slider({
min: 20,
max: 65,
values: [30, 40, 50]
});
// Then you can give it pips and labels!
$('.element').slider('pips', {
first: 'label',
last: 'label',
rest: 'pip',
labels: ['label1', 'label2', ...],
prefix: "",
suffix: ""
});
// And finally can add floaty numbers (if desired)
$('.element').slider('凳指float', {
handle: true,
pips: true,
labels: ['label1', 'label2', ...],
prefix: "",
suffix: ""前粗源
});
https://github.com/simeydotme/jQuery-ui-Slider-Pips
$('.element'慧态).slider({
min: 20,
max: 65,
values: [30, 40, 50]
});
// Then you can give it pips and labels!
$('.element').slider('pips', {
first: 'label',
last: 'label',
rest: 'pip',
labels: ['label1', 'label2', ...],
prefix: "",
suffix: ""
});
// And finally can add floaty numbers (if desired)
$('.element').slider('凳指float', {
handle: true,
pips: true,
labels: ['label1', 'label2', ...],
prefix: "",
suffix: ""前粗源
});
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询