1.0.7 • Published 7 years ago

jnline v1.0.7

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
7 years ago

JnLine.js

Generates random svg Lines

Installation

Download package and include jquery.jnLine.min.js in your document after including jQuery. You can use NPM

npm install jnline
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="/path/to/jquery.jnLine.min.js"></script>

Usage

You need an empty SVG Element in your HTML

<svg id="jnLine" xmlns="http://www.w3.org/2000/svg"></svg>

Via JavaScript

To call the jnLine plugin, select your target element with jQuery and do the following:

$('#jnLine').jnLine();

Options

Functions

To Destroy the plugin

$('#jnLine').jnLine.destroy();
1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago