mode

defines which comments are loaded first (oldest or latest)

string mode;

Example

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

Related samples

Details

By default, the oldest comments are shown first. If you set the mode property to "chat", the latest comments will be shown first.

See also
Back to top