SAP Spartacus里的bootstrap button usage
2023-09-14 09:02:54 时间
package.json里对bootstrap的引用:
The .btn classes are designed to be used with the element. However, you can also use these classes on or elements (though some browsers may apply a slightly different rendering).
When using button classes on elements that are used to trigger in-page functionality (like collapsing content), rather than linking to new pages or sections within the current page, these links should be given a role=“button” to appropriately convey their purpose to assistive technologies such as screen readers.
<a class="btn btn-primary" href="#" role="button">Link</a>
<button class="btn btn-primary" type="submit">Button</button>
<input class="btn btn-primary" type="button" value="Input">
<input class="btn btn-primary" type="submit" value="Submit">
<input class="btn btn-primary" type="reset" value="Reset">
btn-sm和btn-lg分别代表不同尺寸的button.
https://thesassway.com/understanding-placeholder-selectors/
更多Jerry的原创文章,尽在:“汪子熙”:
相关文章
- 授人以渔-在 SAP MM 物料显示界面上看到一个字段,如何查找哪张数据库表的哪个字段进行的存储
- SAP UI5 初学者教程之二:SAP UI5 的引导过程(Bootstrap) 试读版
- SAP UI5 的 sap-ui-bootstrap script 脚本标签各属性解析
- SAP UI5 Bootstrap脚本的实现原理
- SAP Fiori里两种锁机制(lock)的实现
- why my detail page in SAP UI5 application is failed to be loaded from router
- SAP UI5 OData框架里硬编码的80是怎么来的
- SAP C4C能通过接口去读nofications或者approval吗
- SAP CRM产品主数据ID的生成逻辑介绍
- SAP Spartacus自定义指令cxOutlet的工作原理
- Spartacus同SAP Commerce Cloud交互的示意图
- Cannot open SAP HANA Live Report view in Webclient ui
- SAP应用followup transaction的错误讨论
- 在SAP Data Intelligence Modeler里测试data Generator graph
- SAP UI5 应用启动(bootstrap)过程单步调试