diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-10-18 17:06:41 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-10-18 17:06:41 -0400 |
commit | 1f3576a69a6a0396d07e965c700bb7d69d77a0a3 (patch) | |
tree | f8dde35c9f36d67a0963ad9d6733009cbb15ba25 /src/client/documents/Documents.ts | |
parent | d18ed8aa5a06efff1d7a3db1c2c8240dfa3c393c (diff) |
fixed up creator buttons - factored out convert to buttons code into a dropConverter script. fixed issues with template loading for images.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 651662ded..32fda1954 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -105,7 +105,7 @@ export interface DocumentOptions { yMargin?: number; // gap between top edge of dcoument and start of masonry/stacking layouts panel?: 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 - convertToButtons?: boolean; // whether documents dropped onto a collection should be converted to buttons that will construct the dropped document + dropConverter?: ScriptField; // script to run when documents are dropped on this Document. // [key: string]: Opt<Field>; } |