aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DropActionTypes.ts
blob: 45b294d974f19a91c4356799ca585d2903178062 (plain)
1
2
3
4
5
6
7
8
9
export enum dropActionType {
    embed = 'embed', // create a new embedding of the dragged document for the new location
    copy = 'copy', // copy the dragged document
    move = 'move', // move the dragged document to the drop location after removing it from where it was
    add = 'add', // add the dragged document to the drop location without removing it from where it was
    same = 'same', // only allow drop within same collection (or same hierarchical tree collection)
    inPlace = 'inSame', // keep document in place (unless overridden by a drag modifier)
    proto = 'proto',
} // undefined = move, same = move but doesn't call dropPropertiesToRemove