excalidraw/src/scene/index.ts
David Luzar 2340dddaad Sync panel props to editing element (#470)
* ensure panel props are sync to editing elem

* ensure we don't create empty-text elements (fixes #468)

* remove dead code

Co-authored-by: Christopher Chedeau <vjeuxx@gmail.com>
2020-01-20 15:16:22 -08:00

27 lines
574 B
TypeScript

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