Socket
Socket
Sign inDemoInstall

literallycanvas-core

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    literallycanvas-core

HTML5 drawing widget - core lib


Version published
Maintainers
1
Install size
549 kB
Created

Readme

Source

Literally Canvas Core v0.6.0

Literally Canvas is an extensible, open source (BSD-licensed), HTML5 drawing widget. It has no external dependencies.

This is the core libary which provides an interface for drawing on the canvas.

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

Full documentation

Main Repo

Examples

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

<div class="literally"></div>
<script type="text/javascript">
  const drawingEl = document.querySelector('.literally');
  const lc = new LiterallyCanvas(drawingEl, {
    ...LiterallyCanvas.defaultOptions,
    defaultStrokeWidth: 10,
    backgroundColor: '#FFF',
  });
</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: yarn

Build and watch: yarn build:watch

Test and watch: yarn test:watch

Go to demo/simple.html to see a simple pencil drawing example.

Keywords

FAQs

Last updated on 29 Oct 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc