div-lines

1.3.0 • Public • Published

div-lines Build Status

npm version yarn version NuGet version

Small and simple utility library to draw lines just using div layers thanks to javascript and DOM manipulation.

div-lines demo 1

This example in plunker: http://embed.plnkr.co/Nipx831rhNMFnTiVUWTN/

Quick start

1 Download and Install div-lines

2 Include dependences

2.1 div-lines.js and div-lines.min.js are under dist folder.

2.2 Include div-lines.js or div-lines.min.js, e.g.

<script src="../dist/div-lines.min.js"></script>

3 Use it

Just use it inside your javascript code this way:

dljs.line(null,100,100,400,300,10);

A couple of examples: div-lines demo 2

This example in plunker: http://embed.plnkr.co/fN5Elp/

div-lines demo 3

This example in plunker: http://embed.plnkr.co/PGwarf/

4 License

div-lines.js is MIT licensed.

Package Sidebar

Install

npm i div-lines

Weekly Downloads

0

Version

1.3.0

License

MIT

Unpacked Size

589 kB

Total Files

18

Last publish

Collaborators

  • ajsoriar