You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Setting Icon of an IContentPane?

Received Response
11
Views
1
Comments
edited Jun 13, 2022 4:13AM in General Technical Discussions 1 comment

Content

Looks like IContentPane does not support setting an icon. I tried setIcon and addIcon, neither works:

IContentPaneContext.createContentPane().then(function(IContentPane)
{
IContentPane.setName('News | Noteboard');
IContentPane.setContentUrl('./noodbord.html');
 
                    var icon = IContentPane.createIcon("font awesome");
                    icon.setIconClass("fas fa-bullhorn");
                    IContentPane.addIcon(icon);
});
 

Any thoughts on how to change the icon of a IContentPane?

Regards,

Nika.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!