diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-08 19:34:18 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-08 19:34:18 -0400 |
| commit | 3fcb141913c095e0bdee8874431a51cafe086e3a (patch) | |
| tree | e9fb48b34063e2ceaaa65bbaf41f197d61a4f38b /src/client/views/collections/CollectionView.tsx | |
| parent | 2e42d66be1439de347305cfd43c6f7e7042127c6 (diff) | |
| parent | 94975954fbd1ce9b68f6545b16a4eabe4b41cca0 (diff) | |
merge with master
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index 4f92e305e..965f0a352 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -79,6 +79,10 @@ export interface CollectionViewProps extends FieldViewProps { childIgnoreNativeSize?: boolean; childClickScript?: ScriptField; childDoubleClickScript?: ScriptField; + //TODO: [AL] add these fields + AddToMap?: (treeViewDoc: Doc, index: number[]) => Doc[]; + RemFromMap?: (treeViewDoc: Doc, index: number[]) => Doc[]; + hierarchyIndex?: number[]; // hierarchical index of a document up to the rendering root (primarily used for tree views) } @observer export class CollectionView extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps & CollectionViewProps>() { |
