Skip to product menu
Skip to main content

Launcher

You can customize the color and properties of the  Launcher  (chat widget) to match the look and feel of your application.

Example

Copied// Create a new theme instance using SIQTheme
const customTheme = new SIQTheme();

// Customize properties in the customTheme instance as desired
customTheme.Launcher.backgroundColor = "#0000FF"
customTheme.Launcher.iconColor = "FFFFFF"
customTheme.Launcher.UnreadBadge.backgroundColor = "#FF0000"
customTheme.Launcher.UnreadBadge.textColor = "#0000FF"
customTheme.Launcher.UnreadBadge.borderColor = "#0000FF"
customTheme.Launcher.UnreadBadge.borderWidth = 1

// Set the customized theme using ZohoSalesIQ.setThemeForiOS API
ZohoSalesIQ.setThemeForiOS(customTheme);