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.
我正在尝试创建一个信息按钮(中间带有 i 的圆形按钮)以显示在导航栏的右侧。我在 KendoUI 移动部分的演示页面中看到了示例,并且在某些屏幕的右侧看到了一个显示“索引”的按钮。我不想显示一个带有文本的按钮,而是显示信息按钮。我可以命名该类并显示该信息按钮的 KendoUI 框架的那部分吗?如果没有,如果我有图像,我怎么能把它放在一个按钮中,并且它在 iOS、Android 和 Windows 手机中看起来不错?
在 Kendo UI 移动框架本身中是可能的。
如果您想在导航栏中使用“信息按钮”,那么您应该使用“详细信息按钮”概念。
看下面的代码
...... <div data-role="navbar"> <a data-role="detailbutton" data-icon="info" title="info button"></a> </div> .....
如您所说,它将显示一个按钮。(圆形按钮,中间有一个“i”符号)
它适用于 Kendo UI 支持的所有平台