onBeforeDelete of ui.comments, Events Webix Docs

StartAPI Referenceui.commentsEvents

fires before a comment is deleted

void onBeforeDelete();

Example

$$("comments").attachEvent("onBeforeDelete",function(id){
    const comment = this.getItem(id);
});

See also

  • API

  • Back to top