Documentation

API / js_createDir_oncreate

This callback gets executed when a directory is created by the createDir method.

Parameters

NameDescription
file File instance of the created directory.

Example

moxman.createDir({
path: '/files/images',
oncreate: function(args) {
console.log(args.file);
}
});