Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Using Icons

$
0
0

Hello community,

 

I'm trying to learn SAPUI5 and it is great so far.

Now I want to include some icons but I don't manage to use the icon pool.

I get that the icons are no images but vectors but how can I use them easily?

 

I try to set an icon for a thing inspector so I type

 

jQuery.sap.require( "sap.ui.core.IconPool" );

myTI = new sap.ui.ux3.ThingInspector( {

                        id : "myTI",

...

                        icon : sap.ui.core.IconPool.getIconURI( "cart" ),

...

 

Is it the wrong approach? Because I can't see anything.

 

Please help


Viewing all articles
Browse latest Browse all 8124

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>