sendAction

defines the key or a combination of keys that send a comment (Enter or Shift+Enter)

string sendAction;

Values

  • "click"
    a comment is sent by pressing Shift+Enter. A new line is made by Enter
  • "enter"
    a comment will be sent by Enter, and a new line will be made by Shift+Enter
  • Example

    webix.ui({
        view:"comments",
        currentUser:4,
        url:"./common/comments.js",
        users: "./common/users.js",
        sendAction:"enter"          });


    Default value:

    "click"

    Related samples

    Details

    Regardless of the property value, comments can be also sent by a click on the "Send" button.

    Back to top