diff options
author | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-06-10 17:09:20 -0500 |
---|---|---|
committer | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-06-10 17:09:20 -0500 |
commit | efb6c50a4ed80554ccf9163ad0bbb144d6d75ff7 (patch) | |
tree | 15150925d68aa507ac4edb79b5ea317383a2113a /src/fields/documentSchemas.ts | |
parent | 4aef738968b0d54caf3fb8cb511ae803463c10f6 (diff) | |
parent | 4ec18458fd21bd7d7307a3bab2e787346fc3ed0d (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into script_documents
Diffstat (limited to 'src/fields/documentSchemas.ts')
-rw-r--r-- | src/fields/documentSchemas.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/documentSchemas.ts b/src/fields/documentSchemas.ts index 353333028..40dadf5a8 100644 --- a/src/fields/documentSchemas.ts +++ b/src/fields/documentSchemas.ts @@ -84,7 +84,7 @@ export const documentSchema = createSchema({ _lockedTransform: "boolean",// whether a freeformview can pan/zoom // drag drop properties - cantLeaveCollection: "boolean",// whether document can be dropped into a different collection + stayInCollection: "boolean",// whether document can be dropped into a different collection dragFactory: Doc, // the document that serves as the "template" for the onDragStart script. ie, to drag out copies of the dragFactory document. dropAction: "string", // override specifying what should happen when this document is dropped (can be "alias", "copy", "move") targetDropAction: "string", // allows the target of a drop event to specify the dropAction ("alias", "copy", "move") NOTE: if the document is dropped within the same collection, the dropAction is coerced to 'move' |