cancel
Showing results for 
Search instead for 
Did you mean: 

HTML instead of text for the worksetItems of the SAPUI5 Shell

Former Member
0 Kudos

How to put HTML for the worksetItems?

Now, it is only text (example with the dashboard title):

worksetItems: [new sap.ui.ux3.NavigationItem("WI_home",{key:"wi_home",text:"Dashboard"}),

Do you know how to put HTML instead of text?

I need it to to put an image next to the title with the font :

<span class="icon-statistics"></span>


Vincent

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member91307
Contributor
0 Kudos

Hi Vincent,

worksetItems accepts only aggrgetion of type sap.ui.ux3.NavigationItem[]


css could be applied for the id of the worksetITem



like


<style>

  #WI_home {

    background-color: green;

  }

     

  </style>

an example

JS Bin - Collaborative JavaScript Debugging&lt;/title&gt; &lt;link rel=&quot;icon&quot; href=&quot;h...

Thanks and Regards, Venkatesh