toggles the compact mode of Chat

boolean compact;


  view: "chat",
  url: "",
  compact: true // sets to compact mode initially


By default Chat switches to the compact mode when its size is less than or equal to compactWidth. This can happen during initialization or when the widget or viewport is resized. You can force the compact mode to be set initially through the compact property of the constructor like it's done in the example above.

See also
Back to top