0.0.1 • Published 3 years ago

poparound v0.0.1

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

poparound

poparound allows to show a popup above the element (or a list) while the mouse move over it.

How To Use

  • via npm : npm i poparound then use
    import poparound from 'poparound';
  • within HTML via script tag :
    <!-- ES5 version -->
    <script src="min.js"></script>
    <!-- ES6 version -->
    <script type="module" src="index.js"></script>

API

poparound(elementOrList, popupElement, popupCallback)

popupCallback(element,popupElement) being a callback function allowing interaction with the popup element while shown.

Example

See tests folder

0.0.1

3 years ago