fileRemove

Fired when the user removes a file attachment.

Event Data

e.file Object

The file that was removed.

e.files Array

The array of remaining files after removal.

Example

<div id="chat"></div>
<script>
$("#chat").kendoChat({
    authorId: "user",
    fileAttachment: true,
    fileRemove: function(e) {
        console.log("File removed:", e.file.name);
        console.log("Remaining files:", e.files.length);
    }
});
</script>
In this article
fileRemove
Not finding the help you need?
Contact Support