highlight

defines the style for mentioning

boolean|string highlight;

Values

  • true
  • false
  • "users"
  • Example

    {
        view:"comments",
        currentUser:4,
        data: mentionedData,
        users: usersData,
        highlight:"users",
        mentions:true,
        on:{
            onUserMentioned:function(userId, id){
                var user = this.getUsers().getItem(userId).value;
                webix.message(user+" was mentioned in comment "+id);
            } 
        }
    }


    Default value:

    true
    Details
    • true - enable highlighting of the mentioning;
    • false - disable highlighting of the mentioning;
    • "users" - enable highlighting of the mentioning only for defined users.
    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.