diff options
author | kimdahey <claire_kim1@brown.edu> | 2020-01-17 12:21:18 -0500 |
---|---|---|
committer | kimdahey <claire_kim1@brown.edu> | 2020-01-17 12:21:18 -0500 |
commit | 7cca0643106c73e8af66bfb31ca297b392d64871 (patch) | |
tree | e4132ab62ac3bae68bdbe6630f27504d9c044f65 /src/client/documents/Documents.ts | |
parent | 42b325a94f66e6da0a9fdb0ca0740c01ac7b52f1 (diff) | |
parent | c0de8569d4d4dea83174a9d79e780d9d9f5692d7 (diff) |
merge w master
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index be678d765..eacdd8214 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -69,6 +69,8 @@ export interface DocumentOptions { page?: number; scale?: number; fitWidth?: boolean; + fitToBox?: boolean; // whether a freeformview should zoom/scale to create a shrinkwrapped view of its contents + isDisplayPanel?: boolean; // whether the panel functions as GoldenLayout "stack" used to display documents forceActive?: boolean; preventTreeViewOpen?: boolean; // ignores the treeViewOpen Doc flag which allows a treeViewItem's expande/collapse state to be independent of other views of the same document in the tree view layout?: string | Doc; @@ -114,6 +116,9 @@ export interface DocumentOptions { dropConverter?: ScriptField; // script to run when documents are dropped on this Document. strokeWidth?: number; color?: string; + treeViewHideTitle?: boolean; // whether to hide the title of a tree view + treeViewOpen?: boolean; // whether this document is expanded in a tree view + isFacetFilter?: boolean; // whether document functions as a facet filter in a tree view limitHeight?: number; // maximum height for newly created (eg, from pasting) text documents // [key: string]: Opt<Field>; } |