Skip to content

Aradesh/literallycanvas

 
 

Repository files navigation

Literally Canvas v0.4.1

Literally Canvas is an extensible, open source (BSD-licensed), HTML5 drawing widget. Its only dependency is React.js.

Get help on our mailing list: literallycanvas@librelist.com (just send it a message to subscribe)

This is all it takes:

<div class="literally with-jquery"></div>
<script>
  $('.literally.with-jquery').literallycanvas();
</script>

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

Developing

Setup: npm install

Watching and serving: gulp dev

Browse to localhost:8000/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.

About

A canvas in your browser. Literally.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 90.5%
  • CoffeeScript 8.5%
  • CSS 1.0%