简体   繁体   English

如何自定义Fiori LaunchPad标头

[英]How to custom fiori launchpad header

I am working on a fiori project. 我正在从事一个fiori项目。 I'd like to custom the header of fiori launchpad. 我想自定义fiori启动板的标题。 These are what I want. 这些就是我想要的。 See screenshot below. 请参见下面的屏幕截图。

  1. Add a dynamic title to launchpad header. 向启动板标题添加动态标题。
  2. Add an item options menu. 添加项目选项菜单。
  3. When click the item, show a select dialog contains a list. 单击该项目时,显示一个包含列表的选择对话框。
  4. When select one item of the list, change the dynamic title and refresh the tiles base on the selected item. 选择列表中的一项时,更改动态标题并根据所选项目刷新图块。

在此处输入图片说明

I have got some information about Adding and Removing Custom items to the options menu . 我已经了解到有关在选项菜单中添加和删除自定义项目的信息。 But, where to place the code? 但是,在哪里放置代码?

Here it says: “You can add these lines in component.js file of your app. 在这里 ,它说:“你可以在你的应用程序的component.js文件中添加这些行。 You may surround them with a try-catch statement, to handle situation when your app runs outside of Fiori Launchpad (and rendererExt cannot be instantiated).” 您可以使用try-catch语句将它们括起来,以处理您的应用在Fiori Launchpad之外运行(并且无法实例化rendererExt的情况)的情况。”

Extending Fiori Launchpad might also be helpful. 扩展Fiori Launchpad可能也会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM