Border Animation Settings

Defines animated border effects for highlighting the agent.

enableBorderAnimation

Determines whether animated border effects are enabled around the chat interface or agent widget. When active, borders smoothly transition between defined colors.

Type: boolean
Default Value: true


borderColors

Defines the sequence of colors used for the border animation. The colors transition in order to create a dynamic visual effect.

Type: array
Default Value: ["#0054B6", "#ffffff"]


Example

foldspace.agent('API-KEY').setConfiguration({
  // Border animation settings
  borderAnimationSettings: {
    enableBorderAnimation: true,
    borderColors: ["#0066FF", "#3B82F6", "#60A5FA"]
  }
});