Hi,
Does someone has tried to add an icon to the IconPool of SAP UI5?
sap.ui.core.IconPool.addIcon(iconName, collectionName, iconInfo)
I'm asking about where do you have to put the actual icon.
It says that the iconInfo.fontFamily propertie is the name of the font when importing it using @font-face in the CSS, where do I have to allocate that fontFamily in my project directory?
As an example:
sap.ui.core.IconPool.addIcon("test","c-test", { fontFamily: "test-icon", content: "t001" })
The oIcon created has as URI property:
- uri: "sap-icon://c-test/test"
But where is that location? Must I created an c-test collection in the .eot/.ttf files in the resources/sap/ui/core/themes/base/fonts directory?
Thanks
Luis Alberto