@adamsarek/opencanvas
v0.0.3
Published
<table> <thead> <tr> <th rowspan="2" align="left">Feature</th> <th colspan="6">Desktop</th> <th colspan="3">Phone</th> </tr> <tr> <th align="left">Chrome</th> <th align="left">Edge</th> <th align="left">Safari</th> <th align="l
Downloads
131
Maintainers
Readme
OpenCanvas
Browser Support [^1][^2]
[^1]: Browser support contains data provided by Can I use based on used technologies. [^2]: Minimum support is met when browser supports Canvas and Canvas2D API.
Installation
npm
npm install @adamsarek/opencanvas --save
CDN
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adamsarek/opencanvas@latest/dist/opencanvas.css">
<script src="https://cdn.jsdelivr.net/npm/@adamsarek/opencanvas@latest/dist/opencanvas.js"></script>
Getting Started
1. Target Element
<canvas class="opencanvas"></canvas>
2. Create
const options = {};
const openCanvas = new OpenCanvas(options);