Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在表格的每一行之前有一个小的加号或减号按钮,如下图所示。我是 jqm 的初学者,请帮助
由于您没有发布任何 html,我会假设您的元素是按钮,这是设置图标的简单方法。因此,您的元素是一个带有 data-role=button 的链接。然后添加 data icon="plus" 和 data iconpos="notext" 来隐藏文本内容。
<a href="#" data-role="button" data-icon="plus" data-iconpos="notext" data-mini="true">ButtonTitleIsNotShown</a>