你可以在Bootstrap中禁用选项卡吗? [英] Can you disable tabs in Bootstrap?
本文介绍了你可以在Bootstrap中禁用选项卡吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道你是否可以在bootstrap 2.0中禁用标签,就像你可以按钮一样,如果是这样的话。
I was wondering if you could disable tabs in bootstrap 2.0 like you can buttons and if so how?
推荐答案
在使用活动/委托事件挂接时从标签中删除 data-toggle =tab
属性
You could remove the data-toggle="tab"
attribute from the tab as it's hooked up using live/delegate events
这篇关于你可以在Bootstrap中禁用选项卡吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文