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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.