Search...
onMinimize( )
An event that fires when the chatbox is minimized.
Syntax
function onMinimize(handler: BasicEventHandler): voidhandler: function BasicEventHandler(): void
onMinimize Parameters
NAME
TYPE
DESCRIPTION
handler
The name of the function or the function expression to run when the chatbox is minimized.
Returns
This function does not return anything.
Return Type:
void
BasicEventHandler Parameters
This function does not take any parameters.
Returns
This function does not return anything.
Return Type:
void
Related Content:
Was this helpful?
Register a callback to run after the chatbox is minimized
Copy Code
1$w("#myChatbox").onMinimize(() => {2 console.log("Chatbox minimized");3});