I have a object like this
Dropzone.options.dropzoneForm = {
addRemoveLinks: true,
init: function () {
//upload process
}
};
from another method, I can create a object of this class and pass parameter like
myDropzone = new dropzoneForm();
myDropzone.addRemoveLinks = false; //something like this works perfectly.
But I need to achieve another thing like
myDropzone.removedFile: function(){
//do something}
How can I achieve this, please suggest me.