personalizedrefrigerator / js-draw

Draw pictures using a pen, touchscreen, or mouse! JS-draw is a freehand drawing library for JavaScript and TypeScript.
https://personalizedrefrigerator.github.io/js-draw/typedoc/
MIT License
79 stars 8 forks source link

Rework example app #16

Closed personalizedrefrigerator closed 1 year ago

personalizedrefrigerator commented 1 year ago

Summary

Updates the example app to prefer indexeddb over localstorage and to support multiple items saved in the database (as opposed to a single save).

Screenshots/other information

Screenshot showing "new image" dialog open with other images in background

To-do

This pull request still needs a significant amount of refactoring.

github-actions[bot] commented 1 year ago

Visit the preview URL for this PR (updated for commit e94458b):

https://js-draw--pr16-work-rework-example-e7z7akq4.web.app

(expires Tue, 20 Jun 2023 21:49:08 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e560ee6f7bb6b79cb55b42fb4c05e9fd1b5c506e