wikitooltip

1.0.6 • Public • Published

Wikitooltip

Wikitooltip is a Javascript library to display wikipedia data inside a tooltip.

Wikitooltip

Installation

Use CDN link provided by

JSDELIVR

https://cdn.jsdelivr.net/gh/Adarsh077/wikitooltip/wikitooltip.js

Use the package manager npm to install Wikitooltip.

npm install wikitooltip

Usage

// If installed via npm
import "wikitooltip";
        OR
require("wikitooltip");
Specify 'data-wikitooltip' attribute in an inline HTML element.

<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Wikitooltip</title>
    </head>
    <body>
        <span data-wikitooltip="Stack_Overflow">
            Stack Overflow
        </span>
    </body>
</html>

alt text

Contributing

Pull requests are welcome. For changes, please open an issue first, to discuss what you would like to change.

License

MIT

Package Sidebar

Install

npm i wikitooltip

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

22.1 kB

Total Files

12

Last publish

Collaborators

  • adarshco077