EasyUI - Slider组件
2015-10-25 13:59
393 查看
效果:
html代码:
JS代码:
html代码:
<input id="box" />
JS代码:
$(function () { $('#box').slider({ width: 300,//设置为横向的时候有用 height:300,//设置为竖向时候才有用 //mode: 'v',//横向还是竖向 rule: [0, '|', 25, '|', 50, '|', 75, '|', 100], //reversed:true,//将最大最小值对调 showTip: true, //value: 20,//默认值 //min: 20,//最小值 //max:90,//最大值 step: 1,//增加量,减少量 //格式化返回的数据 tipFormatter: function (data) { return data + '%'; } }); })
相关文章推荐
- Codeforces Round #277 (Div. 2) E. LIS of Sequence DP
- EasyUI - NumberSpinner 组件
- 关于UITableView及dequeueReusableCellWithIdentifier的一些理解
- UI控件
- 【HDOJ】3436 Queue-jumpers
- 3、关于利用SqlSessionFactoryBuilder去构建SqlSessionFactory,以及Mybatis的dao的实现
- Dell D630 win7 x64 下 风扇控制程序 I8kfanGUI 解决方法
- codeforces #316 D.Tree Requests (巧妙的dfs序)
- Android Code Style Guidelines for Contributors
- Zoj 3545 Rescue the Rabbit(ac自己主动机+dp)
- 14 Longest Collatz sequence - Project Euler
- EasyUI - DateBox组件
- mysql创建sequence
- iOS之UI高级---Quartz2D基本使用(1)
- 报No 'Access-Control-Allow-Origin' header is present on the requested resource
- 【UML】时序图Sequence diagram(交互图)
- UICollectionViewFlowLayout has cached frame mismatch for index path
- 安卓模拟器"bluestacks"在电脑上的设置.(宽,高)
- 【UER #4】被粉碎的数字
- 鸟哥的私房菜上 xpenguins 设备(ubuntu 12.04)