onBeforeDelete

fires before a comment is deleted

void onBeforeDelete();

Example

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

See also
Back to top