setVisibility()

Note: This API is supported from version 6.5.1.

The setVisibility() API manages the visibility of various call components, such as operatorImage, operatorName, preChatForm, and others.

Parameters:

  • component (CallComponent): The specific UI component to show or hide (e.g., operatorImage, operatorName, preChatForm).
  • visible (boolean): Set to "true" to make the component visible, or "false" to hide it.

Example

CopiedZohoSalesIQCalls.setVisibility(CallComponent.operatorName, false);