0.0.12 • Published 2 years ago

dom-arrow v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Published on webcomponents.org

dom-arrow

dom-arrow is a web component wrapper around the leader-line npm package.

The name / idea of this web component was inspired by this library which helpfully links to a rather powerful library called leader-line.

Sample syntax

<div id=start>Hello</div>
<p>
    Euclid [described](https://en.wikipedia.org/wiki/Line_(geometry)) a line as "breathless length" which "lies equally with respect to the points on itself"; 
    he introduced several postulates as basic unprovable properties from which he constructed all of geometry, 
    which is now called Euclidean geometry to avoid confusion with other geometries which 
    have been introduced since the end of the 19th century (such as non-Euclidean, projective and affine geometry).
</p>
<div id=end>Goodbye</div>

<dom-arrow connect=#start to=#end color=green></dom-arrow>

Demo

Codepen demo

Running locally

  1. Do a git clone or a git fork of repository https://github.com/bahrus/dom-arrow
  2. Install node.js
  3. Run "npm install" from location of folder created in step 1.
  4. Run npm run serve. Open browser to http://localhost:3030/demo/dev.html
0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

3 years ago

0.0.5

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago

0.0.2

3 years ago

0.0.0

3 years ago