Is there a way to use something other than a header tag to indicate a header in jQuery Mobile collapsible block?

本秂侑毒 提交于 2019-12-24 08:56:37

问题


According to the documentation, after marking a div with data-role="collapsible" there needs to be a header tag (h1 - h6) so that jQuery Mobile will turn it into the header of the collapsible block.

My question is, is there other way to indicate the header? Something like: data-role="collapsible-header"?


回答1:


Try using a legend rather than h#



来源:https://stackoverflow.com/questions/7521256/is-there-a-way-to-use-something-other-than-a-header-tag-to-indicate-a-header-in

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!