1.1.5 • Published 1 year ago

@fadonougbo/wime v1.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

This library shows the position of an element on the page with colors

Installation

using npm

    npm i @fadonougbo/wime

Then

    import {Wime} from "@fadonougbo/wime"

    Wime.showElements()

using cdn

    <script src="https://cdn.jsdelivr.net/gh/Fadonougbo/wime@master/build/src/index.min.js" type="module" defer  ></script>

Usage

Add wime class to element yo want to visually detect

    <p>
        Lorem ipsum dolor  adipisicing elit. Quasi at <span class="wime" >voluptates</span> magni quia 
   </p>

Elements with the wine class will have a box shadow with a random color

demo

You can set the colors to use

    import {Wime} from "@fadonougbo/wime"

    Wime.showElements(["black","#45ff87","tomato","rgb(255,0,255)"])
1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago