excalidraw/src/scene/index.ts
lissitz 92a0f100b8
Drag and drop JSON exports to canvas loads the scene (#676)
* Drag and drop JSON exports to canvas loads the scene

* remove unneeded onDragOver
2020-02-02 21:02:13 +00:00

31 lines
655 B
TypeScript

export { isOverScrollBars } from "./scrollbars";
export {
clearSelection,
getSelectedIndices,
deleteSelectedElements,
someElementIsSelected,
getElementsWithinSelection,
getCommonAttributeOfSelectedElements,
} from "./selection";
export {
exportCanvas,
loadFromJSON,
loadFromBlob,
saveAsJSON,
restoreFromLocalStorage,
saveToLocalStorage,
exportToBackend,
importFromBackend,
addToLoadedScenes,
loadedScenes,
calculateScrollCenter,
} from "./data";
export {
hasBackground,
hasStroke,
getElementAtPosition,
getElementContainingPosition,
hasText,
} from "./comparisons";
export { createScene } from "./createScene";