excalidraw/src/scene/index.ts

30 lines
639 B
TypeScript
Raw Normal View History

export { isOverScrollBars } from "./scrollbars";
export {
clearSelection,
getSelectedIndices,
deleteSelectedElements,
someElementIsSelected,
getElementsWithinSelection,
2020-01-24 12:04:54 +02:00
getCommonAttributeOfSelectedElements,
} from "./selection";
export {
exportCanvas,
loadFromJSON,
saveAsJSON,
restoreFromLocalStorage,
saveToLocalStorage,
exportToBackend,
2020-01-24 12:04:54 +02:00
importFromBackend,
addToLoadedScenes,
loadedScenes,
calculateScrollCenter,
} from "./data";
export {
hasBackground,
hasStroke,
getElementAtPosition,
getElementContainingPosition,
2020-01-24 12:04:54 +02:00
hasText,
} from "./comparisons";
export { createScene } from "./createScene";