1.0.6 • Published 5 years ago
wikitooltip v1.0.6
Wikitooltip
Wikitooltip is a Javascript library to display wikipedia data inside a tooltip.
Installation
Use CDN link provided by
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>
Contributing
Pull requests are welcome. For changes, please open an issue first, to discuss what you would like to change.