diff options
author | bobzel <zzzman@gmail.com> | 2025-02-14 14:07:18 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-02-14 14:07:18 -0500 |
commit | c079b7aa916d7eb35ce186806ca312c84e910cb2 (patch) | |
tree | ec3ab972671d54b31639c8f357bde4ae372b0d2a /src/client/views/ViewBoxInterface.ts | |
parent | 4a9d8bf9e09a25faeba41c7ece46b86548d66847 (diff) |
major restructure of GPTPopup so that it works with all collections.
Diffstat (limited to 'src/client/views/ViewBoxInterface.ts')
-rw-r--r-- | src/client/views/ViewBoxInterface.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/ViewBoxInterface.ts b/src/client/views/ViewBoxInterface.ts index a66a20cf6..30da8c616 100644 --- a/src/client/views/ViewBoxInterface.ts +++ b/src/client/views/ViewBoxInterface.ts @@ -22,6 +22,7 @@ export abstract class ViewBoxInterface<P> extends ObservableReactComponent<React return ''; // } promoteCollection?: () => void; // moves contents of collection to parent + hasChildDocs?: () => Doc[]; 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 |