diff options
author | bob <bcz@cs.brown.edu> | 2019-10-16 17:07:42 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-10-16 17:07:42 -0400 |
commit | 789b4925dff316ed9151bf9d327ab6223f09ec4a (patch) | |
tree | 5579fbf97eaf87b737cd668ef341fd51cd85f15e /src/client/documents/Documents.ts | |
parent | 8a3cfa8d6e72c9bfea4b38760e0b138b6525574c (diff) |
added a default note template
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index a5a9087c2..ccb08f4cd 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -96,6 +96,7 @@ export interface DocumentOptions { unchecked?: ScriptField; // returns whether a check box is unchecked activePen?: Doc; // which pen document is currently active (used as the radio button state for the 'unhecked' pen tool scripts) onClick?: ScriptField; + 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 icon?: string; gridGap?: number; // gap between items in masonry view |