canvasom-inspector
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

canvasom-inspector

A simple inspector for canvasom.

Introduction

This lib provides a simple interface to inspect your canvas object model powered by canvasom:

const { Inspector } = CI; // UMD global

// create an inspector
const canvasInspector = new Inspector({
    target: CANVAS_NODE_TO_INSPECT,
});

// append the element to the document
document.body.appendChild(canvasInspector.element);

canvasInspector.show();

canvasInspector.update(ANOTHER_NODE); // change target

Links

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    3
  • 0.1.0
    1

Package Sidebar

Install

npm i canvasom-inspector

Weekly Downloads

4

Version

0.2.0

License

MIT

Unpacked Size

23.8 kB

Total Files

13

Last publish

Collaborators

  • 3h