nori-draw
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

NoriDraw

yarn yarn add nori-draw npm npm install nori-draw

Using

your file in created dist folder

import Draw from 'nori-draw'
 
const div = document.getElementById('id');
const options = {
        width: 500,
        height: 500,
        sizeValue:'px',
        bg: '#FFFFFF',
        lineColor: '#FFFFFF',
        lineWidth: 1,
        cursor: 'default',
        borderWidth: 1,
        borderColor: '#FFFFFF',
        borderStyle: 'solid'
}
 
const draw = new Draw(div, options);

Package Sidebar

Install

npm i nori-draw

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

14.9 kB

Total Files

4

Last publish

Collaborators

  • norilux