diff options
| author | bob <bcz@cs.brown.edu> | 2019-02-22 15:25:00 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-02-22 15:25:00 -0500 |
| commit | 9a43ea5aefd7b1153f4d865aac0d6c541c989981 (patch) | |
| tree | 3a2994e6c74657f168e9d9d8cf76ab98c45024c1 /src/client/util/DragManager.ts | |
| parent | 85d7a3d9aee44f0b199dddace92f7a683bc33eb6 (diff) | |
| parent | 1e83695f1380b7824d36bdc55305c44117f6da2c (diff) | |
Merge branch 'collectionView'
Diffstat (limited to 'src/client/util/DragManager.ts')
| -rw-r--r-- | src/client/util/DragManager.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index 6d5fe12a7..eb4b3aeaa 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -44,6 +44,7 @@ export namespace DragManager { drop: (e: Event, de: DropEvent) => void; } + export function MakeDropTarget(element: HTMLElement, options: DropOptions): DragDropDisposer { if ("canDrop" in element.dataset) { throw new Error("Element is already droppable, can't make it droppable again"); |
