Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

div-lines

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

div-lines

Small and simple utility library to draw lines just using javascript and HTML Document Object Model. No JQuery needed

  • 1.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 16 Apr 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc