11-11-2019 14:38 PM - last edited 12-29-2019 13:47 PM
Absolutely top stuff @R3dKap, thank you, it works great!
One note, the current zip file in the post doesn't want to import for some reason. I tried to download it again, but the same results. The msapp I grabbed from Github works great though.
Hi @DavesTechTips, glad you like it! 😊
About the ZIP file, it's because the ZIP file contains the MSAPP file. You have to unzip it yourself and then import the MSAPP file as a new component. I had a problem the day I published the component: I couldn't publish the MSAPP file directly with the post. That's why I packaged it in a ZIP file. But I'll try again to put the MSAPP file directly in the post again...
Hey @R3dKap ,
Is there a way to dynamically change colors of the icons in the App like with the OOTB icons? Have you heard or seen anyone doing that? To me it seems like the big reason to push for more OOTB icons.
BTW.. Your Component is awesome !
Yes, of course it's possible and, in fact, it's pretty easy. Have a close look at the SVG code you paste in your image control and you'll see a fill property for the icon:
Between the 2 quotes, just insert a piece of code to define your icon's color:
The only important thing to know is that the color must be a string in the HTML format: #rrggbbaa. As you can see, the last two letters "aa" indicate that you can even set the alpha component of the color, meaning you can set a transparency value.