Search.../

maximized

Indicates if the chatbox is maximized.

Description

If maximized is true, the chatbox is expanded. If maximized is false, the chatbox is minimized.

Type:

booleanRead Only

Was this helpful?

Get the chatbox's maximized status

Copy Code
1let isMaximized = $w("#myChatbox").maximized; // false
Toggle a chatbox's maximized state

Copy Code
1if($w("#myChatbox").maximized) {
2 $w("#myChatbox").minimize();
3}
4else {
5 $w("#myChatbox").maximize();
6}