Documentation
API / CreateDir
This method enables you to create a directory in the specified path.
Parameters
Name | Description |
---|---|
path | Public file system path where the dir should be created. |
oncreate | Callback that gets executed when the directory is created. |
onopen | Fires after the dialog has been opened. Can be used to produce a custom throbber. |
Example
moxman.createDir({
path: '/files/images',
oncreate: function(args) {
console.log(args.file);
}
});