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