我使用materializecss 。 我有两个问题。 第一:如何用“主动”类标记标签(就像点击了一样)? 如果我打开标签页(下一个“活动”标签页后面),我没有看到该标签页(包裹在其中)在这一刻打开。 (我使用两行制表符)第二:如何标记制表符的文本(好像被徘徊在两行中)预先感谢您的帮助。
I use materializecss. I have two questions. First: How to mark tab (as if was clicked) with "active" class? If I open tab (next after "active" tab), I don't see, that tab (among wrapped) open in this moment. (I use two rows of tabs) Second: How to mark text of tab (as if was hovered, in two rows) Thank you in advance for help.
最满意答案
请查看文档: http : //materializecss.com/tabs.html
你可以使用回调函数onShow所以当显示一个Tab时,你可以做任何你想要的东西^^
您的选项卡触发器(也许是您的a-tag)会在激活时自动获取“主动”类
Please have a look in the documentation: http://materializecss.com/tabs.html
You can use the callback-Function onShow So when a Tab is shown you can do whatever you want ^^
Your Tab-Trigger (maybe your a-tag) gets the "active" class automatically, when activated
更多推荐
发布评论