twitter-bootstrap Twitter Bootstrap 3.0 是否提供滑动切换选择组件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19186350/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Does Twitter Bootstrap 3.0 offer a slide toggle select component?
提问by user2847376
I am trying to create a slide toggle select component for a mobile app. We are using twitter bootstrap 3.0 for the UI.
我正在尝试为移动应用程序创建滑动切换选择组件。我们使用 twitter bootstrap 3.0 作为 UI。
I don't see any documentation on bootstrap 3.0 that covers a slide toggle select component. Did they decide not to build that component for 3.0? If so, how can I create one?
我在 bootstrap 3.0 上没有看到任何涵盖滑动切换选择组件的文档。他们是否决定不为 3.0 构建该组件?如果是这样,我该如何创建一个?
I really want to keep using Bootstrap 3.0 for the responsive design elements. And I don't want to weigh my app down by adding jQuery mobile.
我真的很想继续使用 Bootstrap 3.0 来处理响应式设计元素。而且我不想通过添加 jQuery mobile 来拖累我的应用程序。
回答by krilovich
It does not come pre-made with Bootstrap, but here is one that I have used that was pretty good.
它不是用 Bootstrap 预先制作的,但这里有一个我用过的非常好。
It's a switch toggle for Bootstrap.
这是 Bootstrap 的开关切换。
http://bootstrapswitch.com/(previously http://www.bootstrap-switch.org/)
http://bootstrapswitch.com/(以前是http://www.bootstrap-switch.org/)
回答by Bill Rawlinson
Here is a project that seems to do exactly what you want:
这是一个似乎完全符合您要求的项目:
回答by Feay Jarana Manotumruksa
Try this link: http://www.bootply.com/92189It does not require additional css file. All it does is just only jQuery.
试试这个链接:http: //www.bootply.com/92189它不需要额外的 css 文件。它所做的只是jQuery。

