用于Bootstrap的跨浏览器数字微调器/步进器 [英] Cross-browser Numeric Spinner / Stepper for Bootstrap

查看:547
本文介绍了用于Bootstrap的跨浏览器数字微调器/步进器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个与Twitter Bootstrap 2.3集成的数字微调器,使用HTML5 输入类型=数字

I am looking for a numeric spinner which integrates with Twitter Bootstrap 2.3, using the HTML5 input type="number"

<input type="number" id="income" name="income" value="10">

根据 caniuse ,只有Chrome会根据需要呈现此元素。可能Firefox很快就会做到这一点,从现在起不会超过5到10年,IE也会提出一个解决方案。

According to caniuse at the time of this writing, only Chrome renders this element as I wish. Probably Firefox will do this soon and in no more than 5 to 10 years from now, IE will also come up with a solution.

我已经测试了其中几个,但都是3岁以上,依赖于jQuery UI并且没有与Bootstrap完全正确集成。

I've tested a couple of them, but all were 3+ years old, rely on jQuery UI and do not exactly integrate properly with Bootstrap.

同时我只是好奇是否有任何jQuery库/或其他解决方案,如屏幕截图中那样呈现输入。

推荐答案

最近我遇到了 Fuel UX 库,其中还包含微调器

Recently I came across the Fuel UX library which also includes a spinner.

这篇关于用于Bootstrap的跨浏览器数字微调器/步进器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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