currentUser

sets the user who sends the comments in a certain instance of the app

number currentUser;

Example

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

Related samples

    Details

    If the current user is not set, comments are sent anonymously.

    See also
    Back to top