aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-01-22 12:08:20 -0500
committerbob <bcz@cs.brown.edu>2020-01-22 12:08:20 -0500
commit5a6f6868dc25b2b24c6c7f4a7bc25670e6a35f47 (patch)
tree31cf7400f701dd215c6004a02a59bb72fb2ea3d0 /src/client/documents/Documents.ts
parent17c4ca6f517ab786f3c6b269c95a9b5ae4b0ff9a (diff)
fixed template/scripting problem. added collectionDoc parameter for onClick scripts. made buxton layout update hero image on click.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index d7292837c..634c223a7 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -88,6 +88,7 @@ export interface DocumentOptions {
defaultBackgroundColor?: string;
dropAction?: dropActionType;
chromeStatus?: string;
+ disableLOD?: boolean;
columnWidth?: number;
fontSize?: number;
curPage?: number;
@@ -330,7 +331,7 @@ export namespace Docs {
*/
export namespace Create {
- const delegateKeys = ["x", "y", "width", "height", "panX", "panY", "nativeWidth", "nativeHeight", "dropAction", "annotationOn", "forceActive", "fitWidth"];
+ const delegateKeys = ["x", "y", "width", "height", "panX", "panY", "nativeWidth", "nativeHeight", "dropAction", "annotationOn", "forceActive", "fitWidth", "diableLOD"];
/**
* This function receives the relevant document prototype and uses