Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

literallycanvas/literallycanvas

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 20, 2018 21:02
src
October 21, 2018 22:11
January 15, 2016 10:09
October 21, 2018 22:39
June 5, 2018 17:03
November 16, 2013 21:08
October 21, 2018 22:39
October 21, 2018 22:24

Literally Canvas v1.0.0

Literally Canvas is an extensible, open source (BSD-licensed), HTML5 drawing widget. Its only dependencies are React.js and its core lib which has been split up into a separate module literallycanvas-core.

Get help on our mailing list by sending an email to literallycanvas+subscribe@googlegroups.com or by visiting Google Groups.

Full documentation

Examples

Along with the CSS, JS, and image assets, this is all it takes:

<div class="my-drawing"></div>
<script>
  LC.init(document.getElementsByClassName('my-drawing')[0]);
</script>

State of the project

No one is maintaining this project. If you report a bug, the ticket will be a helpful place for discussion, but no one will fix it unless you submit a pull request. Feature requests will likewise be ignored.

Pull requests will be merged promptly if they are basically OK.

Developing

Setup: npm install --dev

Watching and serving: gulp dev

Browse to localhost:8080/demo and modify demo/index.html to test code in progress.

To generate a production-ready .js file, run gulp and pull out either lib/js/literallycanvas.js or lib/js/literallycanvas.min.js.