mode

defines a mode of Chat

string mode;

Values

  • "single"
    displays only one chat
  • "limited"
    disables the ability to add another chats
  • "full"
    all the chats are displayed; ability to add another chats
  • Example

    webix.ui({
      view: "chat",
      mode: "limited", // disables the ability to add more chats
      token,
      url: "https://docs.webix.com/chat-backend/"
    });


    Default value:

    "full"
    See also
    Back to top