sendAction

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

string sendAction;

Example

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


Default value:

"click"

Related samples

Details

If the property is set to "click" (default value), a comment is sent by pressing Shift+Enter. A new line is made by Enter.

If you set the property to "enter", a comment will be sent by Enter, and a new line will be made by Shift+Enter.

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

Back to top