Search.../

onMaximize( )

An event that fires when the chatbox is maximized.

Syntax

function onMaximize(handler: BasicEventHandler): void
handler: function BasicEventHandler(): void

onMaximize Parameters

NAME
TYPE
DESCRIPTION
handler

The name of the function or the function expression to run when the chatbox is maximized.

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 maximized

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