Border Animation Settings
enableBorderAnimation
Section titled “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
Section titled “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
Section titled “Example”foldspace.agent('API-KEY').setConfiguration({ // Border animation settings borderAnimationSettings: { enableBorderAnimation: true, borderColors: ["#0066FF", "#3B82F6", "#60A5FA"] }});