wired-divider
v2.1.0
Published
Hand-drawn sketchy tabs - web component
Downloads
69
Maintainers
Readme
wired-divider
Hand-drawn sketchy line to divide sections
For demo and view the complete set of wired-elememts: wiredjs.com
Usage
Add wired-divider to your project:
npm wired-divider
Import wired-divider definition into your HTML page:
<script type="module" src="wired-divider/lib/wired-divider.js"></script>
Or into your module script:
import { WiredDivider } from "wired-divider"
Use it in your web page:
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<wired-divider></wired-divider>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
Properties
elevation - Number between 1 and 5 (inclusive) represents number of lines drawn. Default value is 1.