aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 5f009573e..927996af2 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -178,10 +178,15 @@ export class DocumentOptions {
hidden?: boolean;
_hidden?: boolean;
pointerEvents?: string; // pointer events that the documentview should have
- mediaState?: string; // status of media document: "pendingRecording", "recording", "paused", "playing"
+ mediaState?: string; // status of audio/video media document: "pendingRecording", "recording", "paused", "playing"
+ recording?: boolean; // whether WebCam is recording or not
autoPlayAnchors?: boolean; // whether to play audio/video when an anchor is clicked in a stackedTimeline.
dontPlayLinkOnSelect?: boolean; // whether an audio/video should start playing when a link is followed to it.
toolTip?: string; // tooltip to display on hover
+ contextMenuFilters?: List<ScriptField>;
+ contextMenuScripts?: List<ScriptField>;
+ contextMenuLabels?: List<string>;
+ contextMenuIcons?: List<string>;
dontUndo?: boolean; // whether button clicks should be undoable (this is set to true for Undo/Redo/and sidebar buttons that open the siebar panel)
description?: string; // added for links
layout?: string | Doc; // default layout string for a document
@@ -238,7 +243,7 @@ export class DocumentOptions {
isPushpin?: boolean;
isGroup?: boolean; // whether a collection should use a grouping UI behavior
_removeDropProperties?: List<string>; // list of properties that should be removed from a document when it is dropped. e.g., a creator button may be forceActive to allow it be dragged, but the forceActive property can be removed from the dropped document
-
+ noteType?: string;
// BACKGROUND GRID
_backgroundGridShow?: boolean;
@@ -286,6 +291,7 @@ export class DocumentOptions {
clickFactory?: Doc; // document to create when clicking on a button with a suitable onClick 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
cloneFieldFilter?: List<string>; // fields not to copy when the document is clonedclipboard?: Doc;
+ filterBoolean ?: string;
useCors?: boolean;
icon?: string;
target?: Doc; // available for use in scripts as the primary target document