Search.../

onMinimize( )

An event that fires when the chatbox is minimized.

Syntax

function onMinimize(): void

onMinimize Parameters

This function does not take any parameters.

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

Register a callback to run after the chatbox is minimized

Code Example

Copy Code
1$w("#myChatbox").onMinimize(() => {
2 console.log("Chatbox minimized");
3});