aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-05-11 22:30:33 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-05-11 22:30:33 -0400
commitf1473fc5bf7f2b3109be358ae14d28725240284c (patch)
treed9998d53e90e0dbb44613ca35e92ba997ca1b07e /src/client/documents/Documents.ts
parent7e1f89f48d1c4e49dea78dff1c1983e75a11a6a6 (diff)
cleaned up menu items. improved snapping with fixed aspect items, but not perfect.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index a87a77e1d..95b8daafc 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -150,6 +150,7 @@ export interface DocumentOptions {
dragFactory?: Doc; // document to create when dragging with a suitable onDragStart script
onDragStart?: ScriptField; //script to execute at start of drag operation -- e.g., when a "creator" button is dragged this script generates a different document to drop
clipboard?: Doc;
+ UseCors?: boolean;
icon?: string;
sourcePanel?: Doc; // panel to display in 'targetContainer' as the result of a button onClick script
targetContainer?: Doc; // document whose proto will be set to 'panel' as the result of a onClick click script