afterAdd
fires after a file is added to the data collection
afterAdd: (file: object) => void;
Parameters:
file: object
- the file object
Example
form.getItem("simplevault").data.events.on("afterAdd", function(file) {
console.log("afterAdd", file);
});
info
The afterAdd
event is an event of data collection