Initiates remove action of specified items.

Parameters 

 

Name TypeDescription

source

required

array

array with ids of selected items

target

required

string

id of selected folder

cb

optional

functioncallback function


Example

 

this.filecmdMove = function(source, target, cb) {
  return _request({
    method: 'POST',
    url: '/file/move',
    data: {
      ids: source,
      target: target
    },
    callback: cb
  });
};