aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/ViewBoxInterface.ts
diff options
context:
space:
mode:
authorA.J. Shulman <Shulman.aj@gmail.com>2025-02-24 16:10:29 -0500
committerA.J. Shulman <Shulman.aj@gmail.com>2025-02-24 16:10:29 -0500
commit7b0bd66a0ad22b5a5cb17e76e811b59c6c7ca729 (patch)
tree7ee37b74c8ba511ac59160f9b11f251861faab1d /src/client/views/ViewBoxInterface.ts
parenta26c670b49a8631779869baf493135a59b92f523 (diff)
parent383a8a2f017c12c578537d3cb3005e00be019bd7 (diff)
Merge branch 'master' into ajs-finalagent
Diffstat (limited to 'src/client/views/ViewBoxInterface.ts')
-rw-r--r--src/client/views/ViewBoxInterface.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/ViewBoxInterface.ts b/src/client/views/ViewBoxInterface.ts
index a66a20cf6..b943259ff 100644
--- a/src/client/views/ViewBoxInterface.ts
+++ b/src/client/views/ViewBoxInterface.ts
@@ -22,6 +22,8 @@ export abstract class ViewBoxInterface<P> extends ObservableReactComponent<React
return ''; //
}
promoteCollection?: () => void; // moves contents of collection to parent
+ hasChildDocs?: () => Doc[];
+ docEditorView?: () => void;
updateIcon?: (usePanelDimensions?: boolean) => Promise<void>; // updates the icon representation of the document
getAnchor?: (addAsAnnotation: boolean, pinData?: PinProps) => Doc; // returns an Anchor Doc that represents the current state of the doc's componentview (e.g., the current playhead location of a an audio/video box)
restoreView?: (viewSpec: Doc) => boolean; // DEPRECATED: do not use, it will go away. see PresBox.restoreTargetDocView