Drawing Customizable Lines Using JavaScript – div-lines

Category: Javascript | April 17, 2019
Author:ajsoriar
Views Total:281 views
Official Page:Go to website
Last Update:April 17, 2019
License:MIT

Preview:

Drawing Customizable Lines Using JavaScript – div-lines

Description:

div-lines is a pure JavaScript library which draws CSS based lines between two points with just one JS call.

How to use it:

Install the div-lines via package managers and import it into your project.

# NPM
$ npm install div-lines --save
# Bower
$ bower install equalHeight.js

Or include the div-lines.js directly.

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

The JavaScript syntax.

dljs.line(x1,y1,x2,y2,thickness,color);

Changelog:

v1.3.0 (04/17/2019)

  • update

v1.2.0 (10/11/2018)

  • increase boards functionality

You Might Be Interested In:


Leave a Reply